mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Fix comments.
This commit is contained in:
parent
7462a58903
commit
6f0f0cbd6b
1 changed files with 3 additions and 3 deletions
|
@ -61,10 +61,10 @@ var PaperScript = new function() {
|
|||
}
|
||||
|
||||
function handleOperator(operator, left, right) {
|
||||
// Only replace operators with calls to paper.handleOperator if
|
||||
// the left hand side is potentially an object.
|
||||
// Only replace operators with calls to $operator if the left hand side
|
||||
// is potentially an object.
|
||||
if (operators[operator] && isDynamic(left)) {
|
||||
// Replace with paper.handleOperator(operator, left, right):
|
||||
// Replace with call to $operator(left, operator, right):
|
||||
return ['call', ['name', '$operator'],
|
||||
[left, ['string', operator], right]];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue