JSDOC/Scope.js
[gnome.introspection-doc-generator] / JSDOC / Scope.js
index 3a03c4b..08ba30e 100644 (file)
@@ -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;
             }