mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-22 07:19:57 -05:00
Prebuilt module for commit d779789b6f
This commit is contained in:
parent
4ef8cd2257
commit
3dc8267b85
5 changed files with 16 additions and 12 deletions
10
dist/docs/assets/js/paper.js
vendored
10
dist/docs/assets/js/paper.js
vendored
|
@ -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
2
dist/paper-core.js
vendored
|
@ -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
|
||||||
*
|
*
|
||||||
***
|
***
|
||||||
*
|
*
|
||||||
|
|
2
dist/paper-core.min.js
vendored
2
dist/paper-core.min.js
vendored
|
@ -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
10
dist/paper-full.js
vendored
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
4
dist/paper-full.min.js
vendored
4
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue