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 * @param {Object} [option] the compilation options
*/ */
execute: function(code, options) { execute: function(code, options) {
var exports = paper.PaperScript.execute(code, this, options); /*#*/ if (__options.paperScript) {
View.updateFocus(); var exports = paper.PaperScript.execute(code, this, options);
return exports; View.updateFocus();
return exports;
/*#*/ }
}, },
/** /**