Skip to content

Commit

Permalink
Fix missing ; in Lesson 6 chapter 4 (CryptozombiesHQ#296)
Browse files Browse the repository at this point in the history
* Add ; for consistency

* Add ; for consistency
  • Loading branch information
kimborgen authored Feb 28, 2022
1 parent db26400 commit 24e98b3
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
8 changes: 4 additions & 4 deletions en/6/04.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ material:
}
function getZombieDetails(id) {
return cryptoZombies.methods.zombies(id).call()
return cryptoZombies.methods.zombies(id).call();
}
// 1. Define `zombieToOwner` here
Expand Down Expand Up @@ -504,15 +504,15 @@ material:
}
function getZombieDetails(id) {
return cryptoZombies.methods.zombies(id).call()
return cryptoZombies.methods.zombies(id).call();
}
function zombieToOwner(id) {
return cryptoZombies.methods.zombieToOwner(id).call()
return cryptoZombies.methods.zombieToOwner(id).call();
}
function getZombiesByOwner(owner) {
return cryptoZombies.methods.getZombiesByOwner(owner).call()
return cryptoZombies.methods.getZombiesByOwner(owner).call();
}
window.addEventListener('load', function() {
Expand Down
8 changes: 4 additions & 4 deletions es/6/04.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ material:
cryptoZombies = new web3js.eth.Contract(cryptoZombiesABI, cryptoZombiesAddress);
}
function getZombieDetails(id) {
return cryptoZombies.methods.zombies(id).call()
return cryptoZombies.methods.zombies(id).call();
}
// 1. Define `zombieToOwner` aquí
// 2. Define `getZombiesByOwner` aquí
Expand Down Expand Up @@ -449,15 +449,15 @@ material:
}
function getZombieDetails(id) {
return cryptoZombies.methods.zombies(id).call()
return cryptoZombies.methods.zombies(id).call();
}
function zombieToOwner(id) {
return cryptoZombies.methods.zombieToOwner(id).call()
return cryptoZombies.methods.zombieToOwner(id).call();
}
function getZombiesByOwner(owner) {
return cryptoZombies.methods.getZombiesByOwner(owner).call()
return cryptoZombies.methods.getZombiesByOwner(owner).call();
}
window.addEventListener('load', function() {
Expand Down
8 changes: 4 additions & 4 deletions fr/6/04.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ material:
}
function getZombieDetails(id) {
return cryptoZombies.methods.zombies(id).call()
return cryptoZombies.methods.zombies(id).call();
}
// 1. Define `zombieToOwner` here
Expand Down Expand Up @@ -402,15 +402,15 @@ material:
}
function getZombieDetails(id) {
return cryptoZombies.methods.zombies(id).call()
return cryptoZombies.methods.zombies(id).call();
}
function zombieToOwner(id) {
return cryptoZombies.methods.zombieToOwner(id).call()
return cryptoZombies.methods.zombieToOwner(id).call();
}
function getZombiesByOwner(owner) {
return cryptoZombies.methods.getZombiesByOwner(owner).call()
return cryptoZombies.methods.getZombiesByOwner(owner).call();
}
window.addEventListener('load', function() {
Expand Down
8 changes: 4 additions & 4 deletions ko/6/04.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ material:
}
function getZombieDetails(id) {
return cryptoZombies.methods.zombies(id).call()
return cryptoZombies.methods.zombies(id).call();
}
// 1. 여기에 `zombieToOwner`를 정의하게.
Expand Down Expand Up @@ -402,15 +402,15 @@ material:
}
function getZombieDetails(id) {
return cryptoZombies.methods.zombies(id).call()
return cryptoZombies.methods.zombies(id).call();
}
function zombieToOwner(id) {
return cryptoZombies.methods.zombieToOwner(id).call()
return cryptoZombies.methods.zombieToOwner(id).call();
}
function getZombiesByOwner(owner) {
return cryptoZombies.methods.getZombiesByOwner(owner).call()
return cryptoZombies.methods.getZombiesByOwner(owner).call();
}
window.addEventListener('load', function() {
Expand Down
8 changes: 4 additions & 4 deletions pt/6/04-calling-contract-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ material:
}
function getZombieDetails(id) {
return cryptoZombies.methods.zombies(id).call()
return cryptoZombies.methods.zombies(id).call();
}
// 1. Defina `zombieToOwner` aqui
Expand Down Expand Up @@ -403,15 +403,15 @@ material:
}
function getZombieDetails(id) {
return cryptoZombies.methods.zombies(id).call()
return cryptoZombies.methods.zombies(id).call();
}
function zombieToOwner(id) {
return cryptoZombies.methods.zombieToOwner(id).call()
return cryptoZombies.methods.zombieToOwner(id).call();
}
function getZombiesByOwner(owner) {
return cryptoZombies.methods.getZombiesByOwner(owner).call()
return cryptoZombies.methods.getZombiesByOwner(owner).call();
}
window.addEventListener('load', function() {
Expand Down
8 changes: 4 additions & 4 deletions zh/6/04.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ material:
}
function getZombieDetails(id) {
return cryptoZombies.methods.zombies(id).call()
return cryptoZombies.methods.zombies(id).call();
}
// 1. Define `zombieToOwner` here
Expand Down Expand Up @@ -855,15 +855,15 @@ material:
}
function getZombieDetails(id) {
return cryptoZombies.methods.zombies(id).call()
return cryptoZombies.methods.zombies(id).call();
}
function zombieToOwner(id) {
return cryptoZombies.methods.zombieToOwner(id).call()
return cryptoZombies.methods.zombieToOwner(id).call();
}
function getZombiesByOwner(owner) {
return cryptoZombies.methods.getZombiesByOwner(owner).call()
return cryptoZombies.methods.getZombiesByOwner(owner).call();
}
window.addEventListener('load', function() {
Expand Down

0 comments on commit 24e98b3

Please sign in to comment.