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

Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Fix incorrect arguments for createAndAppend #278

Merged
merged 1 commit into from
Jun 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homework/Contributor.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ class Contributor {
*/
render(container) {
// TODO: replace the next line with your code.
Util.createAndAppend('pre', container, JSON.stringify(this.contributor, null, 2));
Util.createAndAppend('pre', container, { text: JSON.stringify(this.contributor, null, 2) });
}
}
2 changes: 1 addition & 1 deletion homework/Repository.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Repository {
*/
render(container) {
// TODO: replace the next line with your code.
Util.createAndAppend('pre', container, JSON.stringify(this.repository, null, 2));
Util.createAndAppend('pre', container, { text: JSON.stringify(this.repository, null, 2) });
}

/**
Expand Down