[indexPattern] reorganize
This commit is contained in:
parent
9200a6f0c7
commit
1de16ad113
1 changed files with 2 additions and 1 deletions
|
@ -123,8 +123,9 @@ define(function (require) {
|
||||||
|
|
||||||
return new PromiseEmitter(function (resolve, reject) {
|
return new PromiseEmitter(function (resolve, reject) {
|
||||||
const defer = Promise.defer();
|
const defer = Promise.defer();
|
||||||
self._createRequest(defer);
|
|
||||||
defer.promise.then(resolve, reject);
|
defer.promise.then(resolve, reject);
|
||||||
|
|
||||||
|
self._createRequest(defer);
|
||||||
}, handler);
|
}, handler);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue