Do not export paper.load() any more.

Use paper.PaperScript.load() instead.
This commit is contained in:
Jürg Lehni 2013-02-08 18:17:37 -08:00
parent 1ee29d56ac
commit bd62b4b819
2 changed files with 1 additions and 4 deletions

View file

@ -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];
}
},

View file

@ -322,6 +322,3 @@ var PaperScript = this.PaperScript = new function() {
/*#*/ } // !options.browser
};
// Export load directly:
this.load = PaperScript.load;