mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
use shared slideshow
This commit is contained in:
parent
c959aa01a2
commit
3eec24c917
86 changed files with 18787 additions and 2233 deletions
16
dashboard-ui/bower_components/Swiper/src/js/plugins.js
vendored
Normal file
16
dashboard-ui/bower_components/Swiper/src/js/plugins.js
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*=========================
|
||||
Plugins API. Collect all and init all plugins
|
||||
===========================*/
|
||||
s._plugins = [];
|
||||
for (var plugin in s.plugins) {
|
||||
var p = s.plugins[plugin](s, s.params[plugin]);
|
||||
if (p) s._plugins.push(p);
|
||||
}
|
||||
// Method to call all plugins event/method
|
||||
s.callPlugins = function (eventName) {
|
||||
for (var i = 0; i < s._plugins.length; i++) {
|
||||
if (eventName in s._plugins[i]) {
|
||||
s._plugins[i][eventName](arguments[1], arguments[2], arguments[3], arguments[4], arguments[5]);
|
||||
}
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue