mirror of
https://github.com/embarklabs/EmbarkJS.git
synced 2025-01-24 03:09:16 +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 = {
|
var EmbarkJS = {
|
||||||
onReady: function (cb) {
|
onReady: function (cb) {
|
||||||
if (self.Blockchain.done) {
|
if (this.Blockchain.done) {
|
||||||
return cb();
|
return cb();
|
||||||
}
|
}
|
||||||
this.Blockchain.finalCb = function() {
|
this.Blockchain.finalCb = function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user