mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-29 07:09:45 -04:00
Move define() statement to export.js and remove define hack in PaperScript.
This commit is contained in:
parent
4b53d558f1
commit
eef736f3d8
3 changed files with 4 additions and 6 deletions
src/core
|
@ -19,8 +19,6 @@
|
|||
// better minification and the future use of strict mode once it makes sense
|
||||
// in terms of performance.
|
||||
paper.PaperScope.prototype.PaperScript = new function() {
|
||||
// Locally override define, so acorn.js does not export itself
|
||||
var define = null;
|
||||
/*#*/ if (options.parser == 'acorn') {
|
||||
/*#*/ include('../../lib/acorn-min.js');
|
||||
/*#*/ } else if (options.parser == 'esprima') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue