Skip to content

Commit

Permalink
fix(util.typecoercedataset): restore timeline.itemsData.clear accessor (
Browse files Browse the repository at this point in the history
#716)

* fix(util.typecoercedataset): restore timeline.itemsData.clear accessor

This bug was introduced in #259 , and constituted a breaking change.

This commit should fix #715.

* revert "fix(util.typecoercedataset): restore timeline.itemsData.clear accessor"

This reverts commit ba888c7.
  • Loading branch information
strazto authored Oct 13, 2020
1 parent ff07545 commit 6943dee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ export function typeCoerceDataSet(
remove: (...args) => rawDS.getDataSet().remove(...args),
update: (...args) => rawDS.getDataSet().update(...args),
updateOnly: (...args) => rawDS.getDataSet().updateOnly(...args),
clear : (...args) => rawDS.getDataSet().clear(...args),

// Read only.
forEach: coercedDS.forEach.bind(coercedDS),
Expand Down

0 comments on commit 6943dee

Please sign in to comment.