1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-04 10:34:51 +02:00
video.js/test/unit/mixins
Gary Katsevman 85575dbaba
fix(evented): log an error on invalid type (#7067)
Follow up from #6982. We previously threw an error, but we've seen it
happen unexpectedly. Instead, we should log an error.
We will still throw an error if the event is undefined or null.

Here, if we have a `log` object on the current object, we should use it,
otherwise, we use a default `log` object.
2021-01-26 13:56:41 -05:00
..
evented.test.js fix(evented): log an error on invalid type (#7067) 2021-01-26 13:56:41 -05:00
stateful.test.js test: memory leak fixes in tests (#5861) 2019-03-18 15:49:48 -04:00