bad `self` reference in onReady, should be `this`

This commit is contained in:
Michael Bradley, Jr 2018-09-02 20:02:56 -05:00
parent b310a783d5
commit b908d854d1
1 changed files with 1 additions and 1 deletions

View File

@ -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() {