mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Do not export paper.load() any more.
Use paper.PaperScript.load() instead.
This commit is contained in:
parent
1ee29d56ac
commit
bd62b4b819
2 changed files with 1 additions and 4 deletions
|
@ -140,7 +140,7 @@ var PaperScope = this.PaperScope = Base.extend(/** @lends PaperScope# */{
|
|||
// Do not use Base.each, since we also want to enumerate over
|
||||
// fields on PaperScope.prototype, e.g. all classes
|
||||
for (var key in this) {
|
||||
if (!/^(version|_id|load)/.test(key) && !(key in scope))
|
||||
if (!/^(version|_id)/.test(key) && !(key in scope))
|
||||
scope[key] = this[key];
|
||||
}
|
||||
},
|
||||
|
|
|
@ -322,6 +322,3 @@ var PaperScript = this.PaperScript = new function() {
|
|||
|
||||
/*#*/ } // !options.browser
|
||||
};
|
||||
|
||||
// Export load directly:
|
||||
this.load = PaperScript.load;
|
||||
|
|
Loading…
Reference in a new issue