loopback/lib
Miroslav Bajtoš 5578d59631 Implement app.middlewareFromConfig
Implement a function registering a middleware using a factory function
and a JSON config.

Example:

    app.middlewareFromConfig(compression, {
      enabled: true,
      phase: 'initial',
      config: {
        threshold: 128
      }
    });
2014-11-11 18:00:19 +01:00
..
connectors Enable jscs for `lib`, fix style violations 2014-11-04 08:25:33 +01:00
middleware Add API doc for context middleware - see #337 2014-11-06 14:07:34 -08:00
access-context.js Enable jscs for `lib`, fix style violations 2014-11-04 08:25:33 +01:00
application.js Coding style cleanup (Gruntfile, lib) 2014-11-04 08:25:35 +01:00
browser-express.js Emit a 'modelRemoted' event by app.model() 2014-07-24 17:00:27 -07:00
builtin-models.js models: move Change LDL def into a json file 2014-10-14 09:04:43 +02:00
express-middleware.js Enable jscs for `lib`, fix style violations 2014-11-04 08:25:33 +01:00
loopback.js Middleware phases - initial implementation 2014-11-10 19:50:58 +01:00
model.js Coding style cleanup (Gruntfile, lib) 2014-11-04 08:25:35 +01:00
persisted-model.js Update persisted-model.js 2014-11-06 10:56:37 -08:00
registry.js Allows ACLs/settings in model config 2014-11-07 11:14:40 -08:00
runtime.js Enable jscs for `lib`, fix style violations 2014-11-04 08:25:33 +01:00
server-app.js Implement app.middlewareFromConfig 2014-11-11 18:00:19 +01:00