1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Added jQuery as local dependency for components

This commit is contained in:
softworkz 2016-03-18 22:12:44 +01:00
parent ed811fa26a
commit 38b75cc20a
21 changed files with 21 additions and 21 deletions

View file

@ -1,4 +1,4 @@
define(['paperdialoghelper', 'paper-checkbox', 'paper-dialog', 'paper-input'], function (paperDialogHelper) { define(['paperdialoghelper', 'jQuery', 'paper-checkbox', 'paper-dialog', 'paper-input'], function (paperDialogHelper, $) {
function onSubmit() { function onSubmit() {
Dashboard.showLoadingMsg(); Dashboard.showLoadingMsg();

View file

@ -1,4 +1,4 @@
define(['paperdialoghelper', 'paper-item', 'paper-input', 'paper-fab', 'paper-item-body'], function (paperDialogHelper) { define(['paperdialoghelper', 'jQuery', 'paper-item', 'paper-input', 'paper-fab', 'paper-item-body'], function (paperDialogHelper, $) {
var systemInfo; var systemInfo;
function getSystemInfo() { function getSystemInfo() {

View file

@ -1,4 +1,4 @@
define(['paperdialoghelper', 'events', 'browser', 'paper-checkbox', 'emby-collapsible', 'css!components/filterdialog/style', 'paper-radio-button', 'paper-radio-group'], function (paperDialogHelper, events, browser) { define(['paperdialoghelper', 'events', 'browser', 'jQuery', 'paper-checkbox', 'emby-collapsible', 'css!components/filterdialog/style', 'paper-radio-button', 'paper-radio-group'], function (paperDialogHelper, events, browser, $) {
function renderOptions(context, selector, cssClass, items, isCheckedFn) { function renderOptions(context, selector, cssClass, items, isCheckedFn) {

View file

@ -1,4 +1,4 @@
define(['paperdialoghelper', 'paper-input', 'paper-button', 'emby-collapsible', 'paper-checkbox'], function (paperDialogHelper) { define(['paperdialoghelper', 'jQuery', 'paper-input', 'paper-button', 'emby-collapsible', 'paper-checkbox'], function (paperDialogHelper, $) {
function renderLibrarySharingList(context, result) { function renderLibrarySharingList(context, result) {

View file

@ -1,4 +1,4 @@
define(['paperdialoghelper', 'paper-checkbox', 'paper-dialog', 'paper-fab'], function (paperDialogHelper) { define(['paperdialoghelper', 'jQuery', 'paper-checkbox', 'paper-dialog', 'paper-fab'], function (paperDialogHelper, $) {
var currentItemId; var currentItemId;
var currentItemType; var currentItemType;

View file

@ -1,4 +1,4 @@
define(['paperdialoghelper', 'css!css/metadataeditor.css', 'paper-fab'], function (paperDialogHelper) { define(['paperdialoghelper', 'jQuery', 'css!css/metadataeditor.css', 'paper-fab'], function (paperDialogHelper, $) {
var currentItem; var currentItem;
var currentDeferred; var currentDeferred;

View file

@ -1,4 +1,4 @@
define(['paperdialoghelper', 'paper-dialog', 'paper-fab'], function (paperDialogHelper) { define(['paperdialoghelper', 'jQuery', 'paper-dialog', 'paper-fab'], function (paperDialogHelper, $) {
var currentItemId; var currentItemId;
var currentFile; var currentFile;

View file

@ -1,4 +1,4 @@
define(['paperdialoghelper', 'paper-dialog', 'paper-fab', 'paper-input', 'paper-checkbox'], function (paperDialogHelper) { define(['paperdialoghelper', 'jQuery', 'paper-dialog', 'paper-fab', 'paper-input', 'paper-checkbox'], function (paperDialogHelper, $) {
var currentItem; var currentItem;
var currentItemType; var currentItemType;

View file

@ -1,4 +1,4 @@
define(['paperdialoghelper', 'paper-dialog', 'paper-input', 'paper-fab', 'paper-item-body', 'paper-icon-item'], function (paperDialogHelper) { define(['paperdialoghelper', 'jQuery', 'paper-dialog', 'paper-input', 'paper-fab', 'paper-item-body', 'paper-icon-item'], function (paperDialogHelper, $) {
var currentDeferred; var currentDeferred;
var hasChanges; var hasChanges;

View file

@ -1,4 +1,4 @@
define(['paperdialoghelper', 'paper-fab', 'paper-item-body', 'paper-icon-item'], function (paperDialogHelper) { define(['paperdialoghelper', 'jQuery', 'paper-fab', 'paper-item-body', 'paper-icon-item'], function (paperDialogHelper, $) {
var currentDeferred; var currentDeferred;
var hasChanges; var hasChanges;

View file

@ -1,4 +1,4 @@
define(['paperdialoghelper', 'paper-checkbox', 'paper-dialog', 'paper-input', 'paper-item-body', 'paper-icon-item', 'paper-textarea', 'paper-fab'], function (paperDialogHelper) { define(['paperdialoghelper', 'jQuery', 'paper-checkbox', 'paper-dialog', 'paper-input', 'paper-item-body', 'paper-icon-item', 'paper-textarea', 'paper-fab'], function (paperDialogHelper, $) {
var currentContext; var currentContext;
var metadataEditorInfo; var metadataEditorInfo;

View file

@ -1,4 +1,4 @@
define(['paperdialoghelper'], function (paperDialogHelper) { define(['paperdialoghelper', 'jQuery'], function (paperDialogHelper, $) {
return { return {
show: function (person) { show: function (person) {

View file

@ -1,4 +1,4 @@
define(['paperdialoghelper', 'paper-dialog', 'paper-input'], function (paperDialogHelper) { define(['paperdialoghelper', 'jQuery', 'paper-dialog', 'paper-input'], function (paperDialogHelper, $) {
var lastPlaylistId = ''; var lastPlaylistId = '';

View file

@ -1,4 +1,4 @@
define(['paperdialoghelper', 'scripts/livetvcomponents', 'livetvcss', 'paper-checkbox', 'paper-input', 'paper-toggle-button'], function (paperDialogHelper) { define(['paperdialoghelper', 'jQuery', 'scripts/livetvcomponents', 'livetvcss', 'paper-checkbox', 'paper-input', 'paper-toggle-button'], function (paperDialogHelper, $) {
var currentProgramId; var currentProgramId;
var currentDialog; var currentDialog;

View file

@ -1,4 +1,4 @@
define(['browser', 'paper-fab', 'paper-tabs', 'paper-slider', 'paper-icon-button'], function (browser) { define(['browser', 'jQuery', 'paper-fab', 'paper-tabs', 'paper-slider', 'paper-icon-button'], function (browser, $) {
function showSlideshowMenu(context) { function showSlideshowMenu(context) {
require(['scripts/slideshow'], function () { require(['scripts/slideshow'], function () {

View file

@ -1,4 +1,4 @@
define(['thirdparty/social-share-kit-1.0.4/dist/js/social-share-kit.min', 'css!thirdparty/social-share-kit-1.0.4/dist/css/social-share-kit.css', 'fade-in-animation', 'fade-out-animation', 'paper-dialog'], function () { define(['jQuery', 'thirdparty/social-share-kit-1.0.4/dist/js/social-share-kit.min', 'css!thirdparty/social-share-kit-1.0.4/dist/css/social-share-kit.css', 'fade-in-animation', 'fade-out-animation', 'paper-dialog'], function ($) {
function showMenu(options, successCallback, cancelCallback) { function showMenu(options, successCallback, cancelCallback) {

View file

@ -1,4 +1,4 @@
define(['paperdialoghelper', 'appStorage', 'paper-fab', 'paper-item-body', 'paper-icon-item'], function (paperDialogHelper, appStorage) { define(['paperdialoghelper', 'appStorage', 'jQuery', 'paper-fab', 'paper-item-body', 'paper-icon-item'], function (paperDialogHelper, appStorage, $) {
var currentItem; var currentItem;

View file

@ -1,4 +1,4 @@
define(['livetvcss', 'scripts/livetvcomponents'], function () { define(['jQuery', 'livetvcss', 'scripts/livetvcomponents'], function ($) {
return function (options) { return function (options) {

View file

@ -1,4 +1,4 @@
define(['paper-checkbox', 'paper-input', 'paper-item-body', 'paper-icon-item'], function () { define(['jQuery','paper-checkbox', 'paper-input', 'paper-item-body', 'paper-icon-item'], function ($) {
return function (page, providerId, options) { return function (page, providerId, options) {

View file

@ -1,4 +1,4 @@
define([], function () { define(['jQuery'], function ($) {
var pageContainerCount; var pageContainerCount;
var animationDuration = 500; var animationDuration = 500;

View file

@ -1,4 +1,4 @@
define(['paperdialoghelper'], function (paperDialogHelper) { define(['paperdialoghelper', 'jQuery'], function (paperDialogHelper, $) {
var currentRecognition; var currentRecognition;
var lang = 'en-US'; var lang = 'en-US';