remove custom web3 js; use packaged one instead

This commit is contained in:
Iuri Matias 2018-07-12 01:04:10 +03:00
parent 791ea2bf1b
commit 5d8f236df3
3 changed files with 3 additions and 4 deletions

1
js/web3-1.0.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -292,7 +292,7 @@ class CodeGenerator {
function getWeb3Location(next) {
self.events.request("version:get:web3", function(web3Version) {
if (web3Version === "1.0.0-beta") {
return next(null, fs.embarkPath("js/web3-1.0.min.js"));
return next(null, fs.embarkPath("node_modules/web3"));
} else {
self.events.request("version:getPackageLocation", "web3", web3Version, function(err, location) {
return next(null, fs.dappPath(location));
@ -352,7 +352,7 @@ class CodeGenerator {
function getWeb3Location(next) {
self.events.request("version:get:web3", function(web3Version) {
if (web3Version === "1.0.0-beta") {
return next(null, utils.joinPath(fs.embarkPath("js/web3-1.0.min.js")));
return next(null, utils.joinPath(fs.embarkPath("node_modules/web3")));
} else {
self.events.request("version:getPackageLocation", "web3", web3Version, function(err, location) {
return next(null, fs.dappPath(location));

View File

@ -16,7 +16,7 @@
"config": "config/",
"versions": {
"solc": "0.4.24",
"web3": "1.0.0-beta.34",
"web3": "1.0.0-beta",
"ipfs-api": "17.2.7"
},
"plugins": {