Bump to v2.0.0

This commit is contained in:
Sam Potts
2016-08-22 13:00:47 +10:00
parent 130fb78b4c
commit 86b2f61b56
8 changed files with 10 additions and 12 deletions

View File

@ -1,7 +1,7 @@
# Changelog
# v1.9.0
This version contains several ***breaking changes***:
# v2.0.0
This version contains several potential ***breaking changes***:
- `setup()` has been reverted to pre v1.8.0 behaviour; meaning it will return the *instance* rather than the *element*. This is because the reference to the instance is no longer added to the original element (see below).
- The reference to the `plyr` instance is now added to the media element rather than original container. This is because if a container with multiple children was passed to `setup()` the references to all instances would have been added to the container, creating issues. I would recommend using the return value from `setup()` or the new `get()` method to access the instance.