[Groonga-commit] nroonga/norema [master] Store the path as an array

Back to archive index

Yoji SHIDARA null+****@clear*****
Tue Aug 14 17:06:42 JST 2012


Yoji SHIDARA	2012-08-14 17:06:42 +0900 (Tue, 14 Aug 2012)

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

  Log:
    Store the path as an array

  Modified files:
    tools/convert.js

  Modified: tools/convert.js (+3 -1)
===================================================================
--- tools/convert.js    2012-08-14 16:47:27 +0900 (1b472c6)
+++ tools/convert.js    2012-08-14 17:06:42 +0900 (a5c4da8)
@@ -41,7 +41,9 @@ function parse(doc, context) {
     item.title = context.title;
     item.path = context.path.map(function(item) {
       return item.title;
-    }).join(' \xbb ');
+    }).filter(function(title) {
+      return title;
+    });
     context.items.push(item);
   }
 
-------------- next part --------------
HTML����������������������������...
다운로드 



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