Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8b3184c

Browse files
authored
Merge pull request HackYourFuture#9 from remarcmij/master
corrects an error re window.onload in the week 3 skeleton
2 parents ea48a05 + 523ddfd commit 8b3184c

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Week3/MAKEME.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,6 @@ You could use this skeleton as overall design for your code in `app.js`:
9090
fetchContributors() {
9191
// Add your code here
9292
}
93-
94-
/**
95-
* Returns the name of the repository
96-
*/
97-
name() {
98-
// Add your code here
99-
}
10093
}
10194

10295
class Contributor {
@@ -163,7 +156,7 @@ You could use this skeleton as overall design for your code in `app.js`:
163156
}
164157
}
165158

166-
window.onload = new View();
159+
window.onload = () => new View();
167160
}
168161
```
169162

0 commit comments

Comments
 (0)