mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-08 05:42:07 -05:00
jsdoc template: fix Operator.isOperator's handling of == operators.
This commit is contained in:
parent
4455b1c33c
commit
7e932368a8
1 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,8 @@ var Operator = new function() {
|
||||||
&& (symbol.operator != 'none')
|
&& (symbol.operator != 'none')
|
||||||
) || ( // equals
|
) || ( // equals
|
||||||
symbol.name == 'equals'
|
symbol.name == 'equals'
|
||||||
&& symbol.returns.length && symbol.returns[0].type == 'boolean'
|
&& symbol.returns.length
|
||||||
|
&& symbol.returns[0].type.toLowerCase() == 'boolean'
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue