mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Export PaperScript object and its load function as paper.load.
This commit is contained in:
parent
081a303de0
commit
c053fb977a
1 changed files with 4 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
|||
* All rights reserved.
|
||||
*/
|
||||
|
||||
var PaperScript = new function() {
|
||||
var PaperScript = this.PaperScript = new function() {
|
||||
//TODO: Make sure there are all the correct copyrights for the inlined parse-js:
|
||||
//#include "../../lib/parse-js-min.js"
|
||||
|
||||
|
@ -226,3 +226,6 @@ var PaperScript = new function() {
|
|||
|
||||
//#endif // !BROWSER
|
||||
};
|
||||
|
||||
// Export load directly:
|
||||
this.load = PaperScript.load;
|
||||
|
|
Loading…
Reference in a new issue