File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -277,15 +277,14 @@ methods in EmbarkJS contracts will be converted to promises.
277277Client side deployment will be automatically available in Embark for existing contracts:
278278
279279``` Javascript
280- var myContract = new EmbarkJS.Contract ({abi: abiObject, code: code});
281- myContract .deploy ().then (function (address ) {});
280+ SimpleStorage .deploy ().then (function (anotherSimpleStorage ) {});
282281```
283282
284283or it can be manually definied as
285284
286285``` Javascript
287286 var myContract = new EmbarkJS.Contract ({abi: abiObject, code: code});
288- myContract .deploy ().then (function (address ) {});
287+ myContract .deploy ().then (function (anotherMyContractObject ) {});
289288```
290289
291290EmbarkJS - Storage
You can’t perform that action at this time.
0 commit comments