Prebuilt module for commit 5245436e36

This commit is contained in:
Paper.js Bot 2018-10-10 21:17:42 +00:00
parent b63c0d33a5
commit 7930d255f7
5 changed files with 33 additions and 29 deletions

View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Wed Oct 10 23:03:38 2018 +0200
* Date: Wed Oct 10 23:10:51 2018 +0200
*
***
*
@ -16543,11 +16543,13 @@ Base.exports.PaperScript = function() {
if (agent.firefox)
code = '\n' + code;
script.appendChild(document.createTextNode(
'paper._execute = function(' + params + ') {' + code + '\n}'
'document.__paperscript__ = function(' + params + ') {' +
code +
'\n}'
));
head.appendChild(script);
func = paper._execute;
delete paper._execute;
func = document.__paperscript__;
delete document.__paperscript__;
head.removeChild(script);
} else {
func = Function(params, code);
@ -16629,7 +16631,7 @@ Base.exports.PaperScript = function() {
}.call(this);
paper = new (PaperScope.inject(Base.exports, {
var paper = new (PaperScope.inject(Base.exports, {
Base: Base,
Numerical: Numerical,
Key: Key,

4
dist/paper-core.js vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Wed Oct 10 23:03:38 2018 +0200
* Date: Wed Oct 10 23:10:51 2018 +0200
*
***
*
@ -14931,7 +14931,7 @@ new function() {
});
};
paper = new (PaperScope.inject(Base.exports, {
var paper = new (PaperScope.inject(Base.exports, {
Base: Base,
Numerical: Numerical,
Key: Key,

File diff suppressed because one or more lines are too long

12
dist/paper-full.js vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Wed Oct 10 23:03:38 2018 +0200
* Date: Wed Oct 10 23:10:51 2018 +0200
*
***
*
@ -16543,11 +16543,13 @@ Base.exports.PaperScript = function() {
if (agent.firefox)
code = '\n' + code;
script.appendChild(document.createTextNode(
'paper._execute = function(' + params + ') {' + code + '\n}'
'document.__paperscript__ = function(' + params + ') {' +
code +
'\n}'
));
head.appendChild(script);
func = paper._execute;
delete paper._execute;
func = document.__paperscript__;
delete document.__paperscript__;
head.removeChild(script);
} else {
func = Function(params, code);
@ -16629,7 +16631,7 @@ Base.exports.PaperScript = function() {
}.call(this);
paper = new (PaperScope.inject(Base.exports, {
var paper = new (PaperScope.inject(Base.exports, {
Base: Base,
Numerical: Numerical,
Key: Key,

File diff suppressed because one or more lines are too long