mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-22 07:19:57 -05:00
jsdoc publish.js: remove debug statement.
This commit is contained in:
parent
8e84c79aa6
commit
30c92ae382
1 changed files with 1 additions and 3 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue