No need to explicitly expose view

As it is enumerable on scope
This commit is contained in:
Jürg Lehni 2019-06-11 21:28:22 +02:00
parent 4857f1d73a
commit 0a56c7cef0

View file

@ -491,7 +491,7 @@ Base.exports.PaperScript = function() {
}
}
}
expose({ __$__: __$__, $__: $__, paper: scope, view: view, tool: tool },
expose({ __$__: __$__, $__: $__, paper: scope, tool: tool },
true);
expose(scope);
// Add a fake `module.exports` object so PaperScripts can export things.