Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondavies committed Aug 7, 2023
1 parent 5e16861 commit deea7d7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build/d3.layout.cloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ module.exports = function() {
clearInterval(timer);
timer = null;
}
for (const tag of tags) {
delete tag.sprite;
for (const d of words) {
delete d.sprite;
}
return cloud;
};
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ module.exports = function() {
clearInterval(timer);
timer = null;
}
for (const tag of tags) {
delete tag.sprite;
for (const d of words) {
delete d.sprite;
}
return cloud;
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "d3-cloud",
"version": "1.2.6",
"version": "1.2.7",
"description": "Generate word clouds in JavaScript.",
"keywords": [
"word",
Expand Down

1 comment on commit deea7d7

@hosseinGanjyar
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Jason

Please sign in to comment.