Merge pull request #103 from flatiron/precedence_fix

[fix] have latter stores precede the former stores.
This commit is contained in:
Jarrett Cruger 2014-02-12 13:16:58 -05:00
commit 1bd1561cdd

View file

@ -222,7 +222,7 @@ Provider.prototype.get = function (key, callback) {
// the entire set of stores, but up until there is a defined value. // the entire set of stores, but up until there is a defined value.
// //
var current = 0, var current = 0,
names = Object.keys(this.stores), names = Object.keys(this.stores).reverse(),
self = this, self = this,
response, response,
mergeObjs = []; mergeObjs = [];