[fix] Update bad variable reference

This commit is contained in:
indexzero 2011-09-24 23:40:57 -04:00
parent d334d07b6e
commit 0234e17804

View file

@ -45,7 +45,8 @@ var Provider = exports.Provider = function (options) {
this.add(options.store.name || options.store.type, options.store);
}
else if (options.stores) {
Object.keys(options.stores).forEach(function (store) {
Object.keys(options.stores).forEach(function (name) {
var store = options.stores[name];
self.add(store.name || store.type, store);
});
}