mirror of
https://github.com/embarklabs/EmbarkJS.git
synced 2025-02-17 06:47:34 +00:00
Merge pull request #18 from embark-framework/bug_fix/this-not-self
bad reference in onReady
This commit is contained in:
commit
2e636e1258
@ -6,7 +6,7 @@ import Utils from './utils.js';
|
||||
|
||||
var EmbarkJS = {
|
||||
onReady: function (cb) {
|
||||
if (self.Blockchain.done) {
|
||||
if (this.Blockchain.done) {
|
||||
return cb();
|
||||
}
|
||||
this.Blockchain.finalCb = function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user