[Groonga-commit] nroonga/norema [master] Rename section -> type

Zurück zum Archiv-Index

Yoji SHIDARA null+****@clear*****
Wed Aug 15 17:05:15 JST 2012


Yoji SHIDARA	2012-08-15 17:05:15 +0900 (Wed, 15 Aug 2012)

  New Revision: ef34b23ba11a43d850bb5e02b086b3135b8bf49f
  https://github.com/nroonga/norema/commit/ef34b23ba11a43d850bb5e02b086b3135b8bf49f

  Log:
    Rename section -> type

  Modified files:
    tools/convert.js

  Modified: tools/convert.js (+3 -3)
===================================================================
--- tools/convert.js    2012-08-15 15:04:21 +0900 (fba096c)
+++ tools/convert.js    2012-08-15 17:05:15 +0900 (0c2256a)
@@ -48,9 +48,9 @@ function parse(doc, context) {
   }
 
   context.path.push(item);
-  for (var section in doc) {
-    if (doc[section] instanceof Array) {
-      doc[section].forEach(function(subdoc) {
+  for (var type in doc) {
+    if (doc[type] instanceof Array) {
+      doc[type].forEach(function(subdoc) {
         parse(subdoc, context);
       });
     }
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index