[Groonga-commit] droonga/express-droonga at 1bccee4 [master] Return values correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Oct 16 19:04:38 JST 2013


YUKI Hiroshi	2013-10-16 19:04:38 +0900 (Wed, 16 Oct 2013)

  New Revision: 1bccee4a86d74758f24b85fdbf44142ae29a650c
  https://github.com/droonga/express-droonga/commit/1bccee4a86d74758f24b85fdbf44142ae29a650c

  Message:
    Return values correctly

  Modified files:
    lib/adapter/api.js

  Modified: lib/adapter/api.js (+2 -2)
===================================================================
--- lib/adapter/api.js    2013-10-16 19:03:24 +0900 (e6ae4cd)
+++ lib/adapter/api.js    2013-10-16 19:04:38 +0900 (acf7e84)
@@ -16,9 +16,9 @@ exports.normalize = function(apis) {
     apis = [apis];
   apis = apis.map(function(api) {
     if (typeof api == 'string')
-      require(api);
+      return require(api);
     else
-      api;
+      return api;
   });
   return apis;
 };
-------------- next part --------------
HTML����������������������������...
Download 



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