Implement a better way to name and export class constructors.

This change also simplified the way classes are exported to PaperScope objects.
This commit is contained in:
Jürg Lehni 2013-05-27 12:48:58 -07:00
parent 15b1ea7af0
commit 10d5de3ed6
45 changed files with 127 additions and 154 deletions

View file

@ -21,7 +21,7 @@
/*#*/ include('../../lib/esprima-min.js');
/*#*/ }
var PaperScript = this.PaperScript = new function() {
var PaperScript = new function() {
// Operators to overload
var binaryOperators = {