From: Alan Knowles Date: Thu, 15 Jul 2010 08:48:59 +0000 (+0800) Subject: JSDOC/Scope.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=8512f907449227483f895f7de3955390adda07ac JSDOC/Scope.js --- diff --git a/JSDOC/Scope.js b/JSDOC/Scope.js index 3a03c4b..08ba30e 100644 --- a/JSDOC/Scope.js +++ b/JSDOC/Scope.js @@ -74,7 +74,7 @@ Scope.prototype = { }, getIdentifier : function(symbol) { if (typeof(this.identifiers[symbol])== 'undefined') { - if (['String', 'Date'].indexOf(symbol)) { + if (['String', 'Date'].indexOf(symbol)> -1) { return false; }