[Groonga-commit] groonga/gcs [ember] Remove unused fieldNames

Back to archive index

Yoji SHIDARA null+****@clear*****
Mon Oct 1 16:21:26 JST 2012


Yoji SHIDARA	2012-10-01 16:21:26 +0900 (Mon, 01 Oct 2012)

  New Revision: 15f98317252d4355b7863c861378195336160000
  https://github.com/groonga/gcs/commit/15f98317252d4355b7863c861378195336160000

  Log:
    Remove unused fieldNames

  Modified files:
    public/js/gcs.js

  Modified: public/js/gcs.js (+0 -2)
===================================================================
--- public/js/gcs.js    2012-10-01 16:18:27 +0900 (4f25cf7)
+++ public/js/gcs.js    2012-10-01 16:21:26 +0900 (f88beb9)
@@ -30,11 +30,9 @@ App.Adapter = DS.Adapter.extend({
               },
               dataType: 'xml',
               success: function(data) {
-                var fieldNames = [];
                 var indexFields = [];
                 $(data).find('IndexFields > member').each(function(index) {
                   var field = $(this);
-                  fieldNames.push(field.find('IndexFieldName').text());
                   var name = field.find('IndexFieldName').text();
                   indexFields.push({
                     id: name,
-------------- next part --------------
HTML����������������������������...
Download 



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