mozilla / popcorn-js

The HTML5 Media Framework. (Unmaintained. See https://github.com/menismu/popcorn-js for activity)
MIT License
2.14k stars 632 forks source link

Add ability to set HTML element and CSS selector of footnotes. #447

Open costolo opened 9 years ago

costolo commented 9 years ago

Two options parameters to the footnote plugin were added, "element" which allows for the overriding of the default div element by the choice of the user and "selector" which allows for the optional addition of a CSS selector to appended footnotes. The footnote unit tests were updated and four additional tests were added to both test functionality of the two new parameters and ensure that default functionality of the footnote plugin was not altered.