[Groonga-commit] droonga/express-droonga at daa340c [master] Accept options

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Mar 20 12:39:35 JST 2014


YUKI Hiroshi	2014-03-20 12:39:35 +0900 (Thu, 20 Mar 2014)

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

  Message:
    Accept options

  Modified files:
    lib/response-cache.js

  Modified: lib/response-cache.js (+3 -1)
===================================================================
--- lib/response-cache.js    2014-03-20 12:38:39 +0900 (e2d15f2)
+++ lib/response-cache.js    2014-03-20 12:39:35 +0900 (caf3d46)
@@ -1,4 +1,6 @@
-exports = module.exports = function() {
+exports = module.exports = function(options) {
+  options = options || {};
+
   return function(request, response, next) {
     var originalWrite = response.write;
     var originalEnd = response.end;
-------------- next part --------------
HTML����������������������������...
下载 



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