Remove PaperScript code from core version

This commit is contained in:
sapics 2018-10-15 14:38:02 +09:00 committed by Jürg Lehni
parent 3e15cf09c2
commit 623c554dfe

View file

@ -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;
/*#*/ }
},
/**