30 Commits

Author SHA1 Message Date
Michael Bradley, Jr
d3b53330af simplify ternary re: __mainContext and this 2018-08-22 19:17:22 -04:00
Michael Bradley, Jr
f68ed2b39f mainContext -- fallback to this, then self, then undefined 2018-08-22 19:17:21 -04:00
Michael Bradley, Jr
dce1e2a4f5 check for self 2018-08-22 19:17:20 -04:00
Iuri Matias
0c9dc48362 move code generator to a module 2018-08-21 16:04:22 -04:00
Michael Bradley, Jr
ed5f18e579 simplify ternary re: __mainContext and this 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
75d0258dae rm disabled line 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
5f0ee8d9e4 mainContext -- fallback to this, then self, then undefined 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
4baea520d8 don't blow away the global web3 2018-08-21 15:47:05 -04:00
Michael Bradley, Jr
4472077e08 check for self 2018-08-21 15:47:05 -04:00
Richard Ramos
38817ddab2 Add environment to EmbarkJS 2018-08-21 15:46:14 -04:00
Iuri Matias
db3356cec0 detect if there is a connection error and pass it down to the ready function 2018-06-29 18:14:08 -04:00
VoR0220
52524c2f59 eliminate nasty outdated test
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-05-28 13:22:48 -05:00
Iuri Matias
6c921e3a85 fix typo 2018-05-28 13:58:49 -04:00
Iuri Matias
1eee68e901 fix typo; default environment to development 2018-05-28 13:53:10 -04:00
VoR0220
6fe3064edd spelling correction of metamask
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-05-28 12:45:14 -05:00
VoR0220
90b42bccb2 template correction to check for development environment and whether metamask is engaged and log that it is
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-05-28 12:27:55 -05:00
emizzle
ab738c05f9 Moved placeholder page html to code generator and ejs template. 2018-05-23 09:33:05 +10:00
Iuri Matias
7d8dd02db1 silence bluebird warning 2018-05-11 16:18:53 -04:00
Iuri Matias
7686ad561f detect web3 version and get accounts correctly 2018-05-11 08:20:03 -04:00
Carl Larson
11b4c9b4c4 check if document already interactive (DOMContentLoaded won't fire if already interactive) 2018-02-22 12:32:01 +00:00
Iuri Matias
a8222df1eb support ws providers 2018-02-07 19:41:11 -05:00
Iuri Matias
4d1368f388 fix lint; update tests 2018-01-17 10:04:11 -05:00
Iuri Matias
ea8f3a2232 improve gas handling and errors 2018-01-13 11:38:10 -05:00
Iuri Matias
e2aa46eac8 define default account for each contract 2018-01-12 18:06:51 -05:00
Iuri Matias
59c3d82260 update web3.js 2018-01-05 15:10:47 -05:00
Iuri Matias
49d693dc1a use givenProvider instead of currentProvider 2017-12-26 09:07:57 -05:00
Iuri Matias
e2dcad07ce update tests 2017-12-13 16:28:23 -05:00
Iuri Matias
b7b5fae2c8 imports with shared web3 object 2017-12-13 15:53:29 -05:00
Iuri Matias
daba3b9319 remove extra character in template causing issues with the console 2017-12-13 11:38:36 -05:00
Iuri Matias
d1762a0fb4 refactor code generation 2017-10-13 20:01:35 -04:00