jsdoc publish.js: remove debug statement.

This commit is contained in:
Jonathan Puckey 2011-05-27 20:27:42 +02:00
parent 8e84c79aa6
commit 30c92ae382

View file

@ -17,9 +17,7 @@ var Operator = new function() {
isOperator: function(symbol) { isOperator: function(symbol) {
// As a convention, only add non static bean properties to // As a convention, only add non static bean properties to
// the documentation. static properties are all supposed to // the documentation. static properties are all supposed to
// be uppercae and constants. // be uppercase and constants.
if (symbol.operator == 'none')
print(!(symbol.operator && symbol.operator != 'none'));
return symbol.params.length == 1 && !symbol.isStatic && ( return symbol.params.length == 1 && !symbol.isStatic && (
/^(add|subtract|multiply|divide|modulo)(\^[0-9])*$/.test(symbol.name) /^(add|subtract|multiply|divide|modulo)(\^[0-9])*$/.test(symbol.name)
&& (symbol.operator != 'none') && (symbol.operator != 'none')