mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Rearrange file sequence to have utils first.
This commit is contained in:
parent
c36db3a55c
commit
1e7fab2cbc
2 changed files with 20 additions and 21 deletions
21
src/load.js
21
src/load.js
|
@ -22,6 +22,15 @@
|
|||
var sources = [
|
||||
'lib/bootstrap.js',
|
||||
'lib/parse-js.js',
|
||||
'lib/stats.js',
|
||||
|
||||
'src/browser/Element.js',
|
||||
'src/browser/Event.js',
|
||||
|
||||
'src/util/CanvasProvider.js',
|
||||
'src/util/Numerical.js',
|
||||
'src/util/PaperScript.js',
|
||||
'src/util/BlendMode.js',
|
||||
|
||||
'src/paper.js',
|
||||
|
||||
|
@ -64,17 +73,7 @@ var sources = [
|
|||
'src/tool/ToolHandler.js',
|
||||
'src/tool/Tool.js',
|
||||
|
||||
'src/browser/Element.js',
|
||||
'src/browser/Event.js',
|
||||
|
||||
'src/util/BlendMode.js',
|
||||
'src/util/CanvasProvider.js',
|
||||
'src/util/Numerical.js',
|
||||
'src/util/PaperScript.js',
|
||||
|
||||
'src/ui/Key.js',
|
||||
|
||||
'lib/Stats.js'
|
||||
'src/ui/Key.js'
|
||||
];
|
||||
|
||||
// Load unit tests after library if asked to do so
|
||||
|
|
20
src/paper.js
20
src/paper.js
|
@ -90,6 +90,16 @@ Base.inject({
|
|||
}
|
||||
});
|
||||
|
||||
//#ifdef BROWSER
|
||||
//#include "browser/Element.js"
|
||||
//#include "browser/Event.js"
|
||||
//#endif // BROWSER
|
||||
|
||||
//#include "util/CanvasProvider.js"
|
||||
//#include "util/Numerical.js"
|
||||
//#include "util/PaperScript.js"
|
||||
//#include "util/BlendMode.js"
|
||||
|
||||
//#include "basic/Point.js"
|
||||
//#include "basic/Size.js"
|
||||
//#include "basic/Rectangle.js"
|
||||
|
@ -128,16 +138,6 @@ Base.inject({
|
|||
//#include "tool/ToolHandler.js"
|
||||
//#include "tool/Tool.js"
|
||||
|
||||
//#ifdef BROWSER
|
||||
//#include "browser/Element.js"
|
||||
//#include "browser/Event.js"
|
||||
//#endif // BROWSER
|
||||
|
||||
//#include "util/BlendMode.js"
|
||||
//#include "util/CanvasProvider.js"
|
||||
//#include "util/Numerical.js"
|
||||
//#include "util/PaperScript.js"
|
||||
|
||||
//#ifdef BROWSER
|
||||
//#include "ui/Key.js"
|
||||
//#endif // BROWSER
|
||||
|
|
Loading…
Reference in a new issue