Import Base into PaperScript scope.

This commit is contained in:
Jürg Lehni 2013-06-28 06:39:00 -07:00
parent 8f254202e8
commit 16ff78a8ba

View file

@ -19,7 +19,8 @@
// better minification and the future use of strict mode once it makes sense
// in terms of performance.
paper.PaperScope.prototype.PaperScript = new function() {
var PaperScope = paper.PaperScope,
var Base = paper.Base,
PaperScope = paper.PaperScope,
// Locally turn of exporst for inlined acorn / esprima.
exports = undefined;
/*#*/ if (options.parser == 'acorn') {