[Groonga-commit] groonga/groonga-admin at b1cef59 [master] Use "!=="

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Nov 3 19:40:56 JST 2014


Kouhei Sutou	2014-11-03 19:40:56 +0900 (Mon, 03 Nov 2014)

  New Revision: b1cef595d2b59ac6dace362410f8ea713cc6ab64
  https://github.com/groonga/groonga-admin/commit/b1cef595d2b59ac6dace362410f8ea713cc6ab64

  Message:
    Use "!=="

  Modified files:
    app/scripts/controllers/table-search-controller.js

  Modified: app/scripts/controllers/table-search-controller.js (+2 -2)
===================================================================
--- app/scripts/controllers/table-search-controller.js    2014-10-27 19:25:38 +0900 (c48f7fd)
+++ app/scripts/controllers/table-search-controller.js    2014-11-03 19:40:56 +0900 (f55e3ac)
@@ -48,13 +48,13 @@ angular.module('groongaAdminApp')
                 if (!column.isIndex) {
                   return;
                 }
-                if (column.range != $scope.table) {
+                if (column.range !== $scope.table) {
                   return;
                 }
                 var matchColumns = $scope.parameters['match_columns'] || [];
                 column.sources.forEach(function(source) {
                   var localName = source.split('.')[1];
-                  var inUse = matchColumns.indexOf(localName) != -1;
+                  var inUse = matchColumns.indexOf(localName) !== -1;
                   $scope.indexedColumns.push({name: localName, inUse: inUse});
                 });
               });
-------------- next part --------------
HTML����������������������������...
下載 



More information about the Groonga-commit mailing list
Back to archive index