Gallery: fix bug when calling without argument
Don't modify jQuery element that might have been given
Fix close callbacks. They were called for any click!
Error found thanks to jslint
Split getContent in two
Use source instead of release in index & gallery
Add contentFilters and improve the heuristics
jQuery extensions usually return themselves...
Fix errors thanks to jslint
+ test
Use chai-jquery
Cleanup after each test
Simplify tests by turning off effects
Simplify by using $.noop instead of null
Use prototype
Simplify by using prototype
+ $.featherlight.current
+ lodash & chai-properties
Translate all data-featherlight-* into config
Fix closeOnEsc
Improve behavior for multiple opened windows
Take into account if defaultPrevented
Avoid leaking if window removed, e.g. with pjax
Add listener when first window requiring it is opened.