[Groonga-commit] groonga/groonga-admin at 3545597 [master] table show: remove unused code

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Dec 31 17:34:09 JST 2014


Kouhei Sutou	2014-12-31 17:34:09 +0900 (Wed, 31 Dec 2014)

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

  Message:
    table show: remove unused code

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

  Modified: app/scripts/controllers/table-show-controller.js (+0 -9)
===================================================================
--- app/scripts/controllers/table-show-controller.js    2014-12-31 17:22:51 +0900 (452d97d)
+++ app/scripts/controllers/table-show-controller.js    2014-12-31 17:34:09 +0900 (75e66e9)
@@ -19,7 +19,6 @@ angular.module('groongaAdminApp')
           properties: [],
           columns: []
         };
-        $scope.tables = [];
       }
 
       initialize();
@@ -38,13 +37,5 @@ angular.module('groongaAdminApp')
           $scope.table.columns = columns.sort(function(column1, column2) {
             return (column1.name > column2.name) ? 1 : -1;
           });
-
-          var tables = [];
-          angular.forEach(schema.tables, function(value) {
-            tables.push(value);
-          });
-          $scope.tables = tables.sort(function(table1, table2) {
-            return (table1.name > table2.name) ? 1 : -1;
-          });
         });
     }]);
-------------- next part --------------
HTML����������������������������...
Download 



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