Skip to content

Commit

Permalink
fix typo in readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
TremayneChrist committed Jan 23, 2019
1 parent a0b1fd5 commit 5b25e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const ro = new ResizeObserver((entries, observer) => {
console.log('Elements resized:', entries.length);
entries.forEach((entry, index) => {
const { width, height } = entry.contentRect;
console.log(`Element ${index + 1}:` `${width}x${height}`);
console.log(`Element ${index + 1}:`, `${width}x${height}`);
});
});

Expand Down

0 comments on commit 5b25e05

Please sign in to comment.