[Groonga-commit] groonga/groonga-admin at 1a7d9aa [build-schema-from-schema-result] Simplify

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Sep 23 13:14:33 JST 2016


YUKI Hiroshi	2016-09-23 13:14:33 +0900 (Fri, 23 Sep 2016)

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

  Message:
    Simplify

  Modified files:
    app/scripts/services/schema-loader.js

  Modified: app/scripts/services/schema-loader.js (+1 -5)
===================================================================
--- app/scripts/services/schema-loader.js    2016-09-23 13:14:06 +0900 (ca86448)
+++ app/scripts/services/schema-loader.js    2016-09-23 13:14:33 +0900 (5140a23)
@@ -204,11 +204,7 @@ angular.module('groongaAdminApp')
         return client.execute('schema')
           .success(function(response) {
             schema.types = buildTypes(response.types());
-
-            var rawTables = response.tables();
-
-            schema.tables = buildTables(rawTables);
-
+            schema.tables = buildTables(response.tables());
             resolveIndexes(schema);
             fetched = true;
             fetching = false;
-------------- next part --------------
HTML����������������������������...
Download 



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