mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Remove PaperScript code from core version
This commit is contained in:
parent
3e15cf09c2
commit
623c554dfe
1 changed files with 5 additions and 3 deletions
|
@ -203,9 +203,11 @@ var PaperScope = Base.extend(/** @lends PaperScope# */{
|
|||
* @param {Object} [option] the compilation options
|
||||
*/
|
||||
execute: function(code, options) {
|
||||
var exports = paper.PaperScript.execute(code, this, options);
|
||||
View.updateFocus();
|
||||
return exports;
|
||||
/*#*/ if (__options.paperScript) {
|
||||
var exports = paper.PaperScript.execute(code, this, options);
|
||||
View.updateFocus();
|
||||
return exports;
|
||||
/*#*/ }
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue