mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
fix binding issue
This commit is contained in:
parent
0c8ad9e219
commit
bfceda5870
1 changed files with 3 additions and 3 deletions
|
@ -50,11 +50,11 @@ define(function (require) {
|
|||
},
|
||||
|
||||
sleep: function sleep(sleepMilliseconds) {
|
||||
var debug = this.debug;
|
||||
debug('... sleep(' + sleepMilliseconds + ') start');
|
||||
var self = this;
|
||||
self.debug('... sleep(' + sleepMilliseconds + ') start');
|
||||
|
||||
return Promise.resolve().delay(sleepMilliseconds)
|
||||
.then(function () { debug('... sleep(' + sleepMilliseconds + ') end'); });
|
||||
.then(function () { self.debug('... sleep(' + sleepMilliseconds + ') end'); });
|
||||
},
|
||||
|
||||
handleError: function (testObj) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue