fixed merge issue in Provider.load by reversing store keys in getStores

This commit is contained in:
Jonathan Stewmon 2011-12-19 17:26:48 -06:00 committed by indexzero
parent 2804b1fb37
commit 5c43d546d1

View file

@ -294,7 +294,9 @@ Provider.prototype.load = function (callback) {
var self = this; var self = this;
function getStores () { function getStores () {
return Object.keys(self.stores).map(function (name) { var stores = Object.keys(self.stores);
stores.reverse();
return stores.map(function (name) {
return self.stores[name]; return self.stores[name];
}); });
} }