Skip to content

Commit fdda38b

Browse files
committed
Merge branch 'develop' of github.com:iurimatias/embark-framework into develop
2 parents d665500 + 57859bd commit fdda38b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,15 +277,14 @@ methods in EmbarkJS contracts will be converted to promises.
277277
Client 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

284283
or 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

291290
EmbarkJS - Storage

0 commit comments

Comments
 (0)