fixed merge issue in Provider.load by reversing store keys in getStores
This commit is contained in:
parent
2804b1fb37
commit
5c43d546d1
1 changed files with 3 additions and 1 deletions
|
@ -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];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue