general tidy up

This commit is contained in:
Michael Bradley, Jr 2018-07-08 22:00:08 -05:00
parent e7ab2094ae
commit 8282b4ffbd
3 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@ -8,6 +8,6 @@ package
embark.min.js
embarkjs-*.tgz
TODO
NOTES
npm-debug.log
TODO

View File

@ -6,7 +6,7 @@ EmbarkJS.checkWeb3 = function () {
_EmbarkJS.checkWeb3.call(this);
if (!this.web3 && typeof (web3) !== 'undefined') {
this.web3 = web3;
} else if (!this.web3) {
} else if (!this.web3) {
this.web3 = window.web3;
}
};

View File

@ -388,7 +388,7 @@ EmbarkJS.Names.register = function(name, options) {
throw new Error('Name system provider not set; e.g EmbarkJS.Names.setProvider("ens")');
}
return this.currentNameSystems.register(name, options);
}
};
EmbarkJS.Utils = {
fromAscii: function (str) {