Prebuilt module for commit d779789b6f

This commit is contained in:
Paper.js Bot 2016-11-21 02:15:09 +00:00
parent 4ef8cd2257
commit 3dc8267b85
5 changed files with 16 additions and 12 deletions

View file

@ -9,7 +9,7 @@
* *
* All rights reserved. * All rights reserved.
* *
* Date: Sun Nov 20 20:53:41 2016 -0500 * Date: Sun Nov 20 21:12:02 2016 -0500
* *
*** ***
* *
@ -14695,9 +14695,11 @@ Base.exports.PaperScript = function() {
if (/^.=$/.test(node.operator) if (/^.=$/.test(node.operator)
&& node.left.type !== 'Literal') { && node.left.type !== 'Literal') {
var left = getCode(node.left), var left = getCode(node.left),
right = getCode(node.right); right = getCode(node.right),
replaceCode(node, left + ' = __$__(' + left + ', "' exp = left + ' = __$__(' + left + ', "'
+ node.operator[0] + '", ' + right + ')'); + node.operator[0] + '", ' + right + ')';
replaceCode(node, /^\(.*\)$/.test(getCode(node))
? '(' + exp + ')' : exp);
} }
} }
} }

2
dist/paper-core.js vendored
View file

@ -9,7 +9,7 @@
* *
* All rights reserved. * All rights reserved.
* *
* Date: Sun Nov 20 20:53:41 2016 -0500 * Date: Sun Nov 20 21:12:02 2016 -0500
* *
*** ***
* *

View file

@ -9,7 +9,7 @@
* *
* All rights reserved. * All rights reserved.
* *
* Date: Sun Nov 20 20:53:41 2016 -0500 * Date: Sun Nov 20 21:12:02 2016 -0500
* *
*** ***
* *

10
dist/paper-full.js vendored
View file

@ -9,7 +9,7 @@
* *
* All rights reserved. * All rights reserved.
* *
* Date: Sun Nov 20 20:53:41 2016 -0500 * Date: Sun Nov 20 21:12:02 2016 -0500
* *
*** ***
* *
@ -14695,9 +14695,11 @@ Base.exports.PaperScript = function() {
if (/^.=$/.test(node.operator) if (/^.=$/.test(node.operator)
&& node.left.type !== 'Literal') { && node.left.type !== 'Literal') {
var left = getCode(node.left), var left = getCode(node.left),
right = getCode(node.right); right = getCode(node.right),
replaceCode(node, left + ' = __$__(' + left + ', "' exp = left + ' = __$__(' + left + ', "'
+ node.operator[0] + '", ' + right + ')'); + node.operator[0] + '", ' + right + ')';
replaceCode(node, /^\(.*\)$/.test(getCode(node))
? '(' + exp + ')' : exp);
} }
} }
} }

File diff suppressed because one or more lines are too long