Minor fixes.

This commit is contained in:
Julien Fontanet
2015-02-17 18:14:32 +01:00
parent 1f952d81aa
commit 47bb02ac08
3 changed files with 3 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ var where = require('lodash.where');
//====================================================================
function Memory(models)
function Memory()
{
Memory.super_.call(this);

View File

@@ -32,7 +32,7 @@ var thenRedis = require('then-redis');
// TODO: Remote events.
function Redis(options, models)
function Redis(options)
{
if (!options)
{
@@ -49,7 +49,7 @@ function Redis(options, models)
throw 'missing option: prefix';
}
Redis.super_.call(this, models);
Redis.super_.call(this);
this.redis = options.connection || thenRedis.createClient(options.uri);
this.prefix = options.prefix;

View File

@@ -40,9 +40,6 @@ const DEFAULTS = {
],
mounts: {},
},
redis: {
// Default values are handled by `redis`.
},
};
const DEPRECATED_ENTRIES = [