mirror of
https://github.com/embarklabs/EmbarkJS.git
synced 2025-01-23 10:50:15 +00:00
bad self
reference in onReady, should be this
This commit is contained in:
parent
b310a783d5
commit
b908d854d1
@ -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