[Groonga-commit] droonga/express-droonga at e08c9b5 [master] Align

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Jan 20 16:04:00 JST 2014


YUKI Hiroshi	2014-01-20 16:04:00 +0900 (Mon, 20 Jan 2014)

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

  Message:
    Align

  Modified files:
    lib/adapter/api/droonga.js

  Modified: lib/adapter/api/droonga.js (+9 -9)
===================================================================
--- lib/adapter/api/droonga.js    2014-01-20 16:02:27 +0900 (cb13d3d)
+++ lib/adapter/api/droonga.js    2014-01-20 16:04:00 +0900 (f6e55bc)
@@ -3,8 +3,8 @@ var command = require('../command');
 module.exports = {
   // XXX dangerous! this must be disabled on public services.
   'droonga': new command.HTTPRequestResponse({
-    method: 'POST',
-    path: '/droonga/:messageType',
+    method:    'POST',
+    path:      '/droonga/:messageType',
     onRequest: function(request, connection) {
       var messageType = request.params.messageType;
       var body = '';
@@ -20,18 +20,18 @@ module.exports = {
     }
   }),
   'droonga-streaming:watch': new command.HTTPStreaming({
-    dataset: 'Watch',
-    path:    '/droonga-streaming/watch',
-    method:  'GET',
-    subscription: 'watch.subscribe',
-    unsubscription: 'watch.unsubscribe',
-    messageType: 'watch.publish',
+    dataset:            'Watch',
+    path:               '/droonga-streaming/watch',
+    method:             'GET',
+    subscription:       'watch.subscribe',
+    unsubscription:     'watch.unsubscribe',
+    messageType:        'watch.publish',
     createSubscription: function(request) {
       return {
         condition: request.query.condition
       };
     },
-    translate: function(message) {
+    translate:          function(message) {
       return message;
     }
   })
-------------- next part --------------
HTML����������������������������...
Download 



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