mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Import Base into PaperScript scope.
This commit is contained in:
parent
8f254202e8
commit
16ff78a8ba
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@
|
||||||
// better minification and the future use of strict mode once it makes sense
|
// better minification and the future use of strict mode once it makes sense
|
||||||
// in terms of performance.
|
// in terms of performance.
|
||||||
paper.PaperScope.prototype.PaperScript = new function() {
|
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.
|
// Locally turn of exporst for inlined acorn / esprima.
|
||||||
exports = undefined;
|
exports = undefined;
|
||||||
/*#*/ if (options.parser == 'acorn') {
|
/*#*/ if (options.parser == 'acorn') {
|
||||||
|
|
Loading…
Reference in a new issue