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

Skip to content

Tags: apwide/vis-timeline

Tags

v7.4.6

Toggle v7.4.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: vertical-scrolling to be out of sync (visjs#834)

* Update Core.js

Fixed flickering when scrolling at the end of the timeline, fixes visjs#422

* Alternative fix for visjs#238

Co-authored-by: Yotam Berkowitz <[email protected]>

v7.4.5

Toggle v7.4.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(deps): add XSS among peer dependencies (visjs#843)

* fix(deps): add XSS among peer dependencies

* fix(build): add missing global name for <script/> imports

Co-authored-by: Yotam Berkowitz <[email protected]>

v7.4.4

Toggle v7.4.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: xss security (visjs#840)

v7.4.3

Toggle v7.4.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: add template functions can return HTMLElement (visjs#836)

In my own use case, I'm trying to attach a Vue component containing an image. Some properties are computed against `scrollHeight` of this image, and this is 0 if the element is not attached to the DOM.

So returning `outerHTML` is not the same thing as returning the element itself.

v7.4.2

Toggle v7.4.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: purge instanceof Array from the codebase (visjs#750)

Array.isArray works with arrays that came from other contexts like web
workers, instanceof Array wouldn't consider such array to be an array
even though it is perfectly valid array.

v7.4.1

Toggle v7.4.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(timeline.setgroups): nested groups fold correcly when input is ar…

…ray (visjs#718)

* fix(timeline.setgroups): nested groups fold correcly when input is array

Fixes visjs#113

* chore(examples.nestedgroups): add example to demonstrate fix of visjs#203

* chore(examples.nestedgroups): revert prev

This reverts commit 1a8fd7e.

Please squash this.

Co-authored-by: Yotam Berkowitz <[email protected]>

v7.4.0

Toggle v7.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat(data): allow custom DataSet/View implementations (visjs#729)

This tests that the methods and properties are implemented instead of
checking the prototype. Thanks to this it is now possible to use a
different DataSet or DataView without extending the Vis one. This also
removes some interoperability issues of the standalone build when used
toghether with other Vis family libraries.

v7.3.12

Toggle v7.3.12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: format options object so its unique within a TimeAxis instance (v…

…isjs#723)

v7.3.11

Toggle v7.3.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(util.typecoercedataset): restore timeline.itemsData.clear accessor (

visjs#716)

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

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

This commit should fix visjs#715.

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

This reverts commit ba888c7.

v7.3.10

Toggle v7.3.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(util.convert): epoch times stored as strings convert correctly, u…

…nit test fixup, parse iso dates in local tz (visjs#699)

* fix: parse string dates directly with moment

* fix: error for convert unknown to moment more specific

Previously stated "Unable to convert to Date"

Now states "Unable to convert to moment"

* test: add html doc for testing offset behaviour

* test: test string to date conversions more rigorously

* refactor(utils.convert): remove repeated code, throw TypeErrors

Previously, "Date" & "Moment" had identical switch branches, but
each return statement in "Date" had `moment(...).toDate()`.

Now, Date branch is just `convert(object, "Moment").toDate()`.

Also, each now throw TypeErrors, & Date branch catches "TypeError" & rethrows
its own.

* test(util.convert): test for "TypeError" when testing throws

* test(util.convert): more robust output checking for date conversion

* fix(util.convert): convert epoch times in strings to number before converting to moment

* test(util.convert): improve "testOffset" example

* Delete testOffset.html

as per review comment

Co-authored-by: Yotam Berkowitz <[email protected]>