Export PaperScript object and its load function as paper.load.

This commit is contained in:
Jürg Lehni 2011-05-07 20:50:32 +01:00
parent 081a303de0
commit c053fb977a

View file

@ -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;