[Groonga-commit] droonga/express-droonga at f7f29a6 [master] Use less-middleware >= 0.2 and follow its change

Back to archive index

Yoji Shidara null+****@clear*****
Mon Mar 10 14:34:02 JST 2014


Yoji Shidara	2014-03-10 14:34:02 +0900 (Mon, 10 Mar 2014)

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

  Message:
    Use less-middleware >= 0.2 and follow its change
    
    https://github.com/emberfeather/less.js-middleware/wiki/Migration-0.1.x-0.2.0

  Modified files:
    lib/ui/dashboard.js
    package.json

  Modified: lib/ui/dashboard.js (+1 -1)
===================================================================
--- lib/ui/dashboard.js    2014-03-03 10:49:07 +0900 (470f58e)
+++ lib/ui/dashboard.js    2014-03-10 14:34:02 +0900 (ca4229b)
@@ -15,7 +15,7 @@ exports.register = function(application, params) {
     application.use(prefix, express.favicon());
     application.use(prefix, express.bodyParser());
     application.use(prefix, express.methodOverride());
-    application.use(prefix, less({ src: path.join(topDirectory, 'public') }));
+    application.use(prefix, less(path.join(topDirectory, 'public')));
     application.use(prefix, express.static(path.join(topDirectory, 'public')));
   });
 

  Modified: package.json (+1 -1)
===================================================================
--- package.json    2014-03-03 10:49:07 +0900 (0543bb7)
+++ package.json    2014-03-10 14:34:02 +0900 (44a0d07)
@@ -19,7 +19,7 @@
     "fluent-logger": "*",
     "inflection": "*",
     "jade": "*",
-    "less-middleware": "*",
+    "less-middleware": ">=0.2",
     "msgpack": "*",
     "socket.io": "*"
   },
-------------- next part --------------
HTML����������������������������...
Download 



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