Move PaperScript.js to core.

This commit is contained in:
Jürg Lehni 2011-05-14 17:22:49 +01:00
parent 53293ab8bd
commit 01fdeb270b
3 changed files with 4 additions and 2 deletions

View file

@ -78,8 +78,9 @@ var sources = [
'src/util/CanvasProvider.js',
'src/util/Numerical.js',
'src/util/PaperScript.js',
'src/util/BlendMode.js'
'src/core/PaperScript.js',
];
// Load unit tests after library if asked to do so

View file

@ -99,9 +99,10 @@ var paper = new function() {
//#include "util/CanvasProvider.js"
//#include "util/Numerical.js"
//#include "util/PaperScript.js"
//#include "util/BlendMode.js"
//#include "core/PaperScript.js"
// Finally inject the classes set on 'this' into the PaperScope class and create
// the first PaperScope and return it, all in one statement.
return new (PaperScope.inject(this));