[Groonga-commit] groonga/groonga-admin at 3a52bc4 [build-schema-from-schema-result] Use more meaningful function name

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Sep 23 12:58:43 JST 2016


YUKI Hiroshi	2016-09-23 12:58:43 +0900 (Fri, 23 Sep 2016)

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

  Message:
    Use more meaningful function name

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

  Modified: app/scripts/services/schema-loader.js (+2 -2)
===================================================================
--- app/scripts/services/schema-loader.js    2016-09-23 12:58:36 +0900 (ecf6e1d)
+++ app/scripts/services/schema-loader.js    2016-09-23 12:58:43 +0900 (48aa51c)
@@ -246,7 +246,7 @@ angular.module('groongaAdminApp')
           });
       }
 
-      function fetchTables(schema) {
+      function fetchSchema(schema) {
         schema.tables = {};
         return client.execute('schema')
           .success(function(response) {
@@ -284,7 +284,7 @@ angular.module('groongaAdminApp')
           loader = defer.promise;
         } else {
           fetching = true;
-          loader = fetchTables(schema);
+          loader = fetchSchema(schema);
         }
         loader.reload = function() {
           fetching = false;
-------------- next part --------------
HTML����������������������������...
Download 



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