mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-06-03 08:43:50 -04:00
Move PaperScript.js to core.
This commit is contained in:
parent
53293ab8bd
commit
01fdeb270b
3 changed files with 4 additions and 2 deletions
|
@ -78,8 +78,9 @@ var sources = [
|
||||||
|
|
||||||
'src/util/CanvasProvider.js',
|
'src/util/CanvasProvider.js',
|
||||||
'src/util/Numerical.js',
|
'src/util/Numerical.js',
|
||||||
'src/util/PaperScript.js',
|
|
||||||
'src/util/BlendMode.js'
|
'src/util/BlendMode.js'
|
||||||
|
|
||||||
|
'src/core/PaperScript.js',
|
||||||
];
|
];
|
||||||
|
|
||||||
// Load unit tests after library if asked to do so
|
// Load unit tests after library if asked to do so
|
||||||
|
|
|
@ -99,9 +99,10 @@ var paper = new function() {
|
||||||
|
|
||||||
//#include "util/CanvasProvider.js"
|
//#include "util/CanvasProvider.js"
|
||||||
//#include "util/Numerical.js"
|
//#include "util/Numerical.js"
|
||||||
//#include "util/PaperScript.js"
|
|
||||||
//#include "util/BlendMode.js"
|
//#include "util/BlendMode.js"
|
||||||
|
|
||||||
|
//#include "core/PaperScript.js"
|
||||||
|
|
||||||
// Finally inject the classes set on 'this' into the PaperScope class and create
|
// Finally inject the classes set on 'this' into the PaperScope class and create
|
||||||
// the first PaperScope and return it, all in one statement.
|
// the first PaperScope and return it, all in one statement.
|
||||||
return new (PaperScope.inject(this));
|
return new (PaperScope.inject(this));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue