jsdoc template: fix Operator.isOperator's handling of == operators.

This commit is contained in:
Jonathan Puckey 2011-06-02 14:54:00 +02:00
parent 4455b1c33c
commit 7e932368a8

View file

@ -18,7 +18,8 @@ var Operator = new function() {
&& (symbol.operator != 'none')
) || ( // equals
symbol.name == 'equals'
&& symbol.returns.length && symbol.returns[0].type == 'boolean'
&& symbol.returns.length
&& symbol.returns[0].type.toLowerCase() == 'boolean'
);
},