[fix] we shouldnt be reversing here fixes #127

master
Jarrett Cruger 2014-11-26 12:51:22 -05:00
parent 6271cdb35d
commit 87a3b82418
1 changed files with 1 additions and 4 deletions

View File

@ -224,7 +224,7 @@ Provider.prototype.get = function (key, callback) {
// the entire set of stores, but up until there is a defined value.
//
var current = 0,
names = Object.keys(this.stores).reverse(),
names = Object.keys(this.stores),
self = this,
response,
mergeObjs = [];
@ -512,9 +512,6 @@ Provider.prototype._execute = function (action, syncLength /* [arguments] */) {
mergeObjs = [],
keys = Object.keys(this.stores);
if (action === 'get') {
keys = keys.reverse();
}
function runAction (name, next) {
var store = self.stores[name];