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

move paper dialog helper

This commit is contained in:
Luke Pulverenti 2016-01-30 14:31:22 -05:00
parent 54d014972b
commit 88bd9c7abb
18 changed files with 44 additions and 25 deletions

View file

@ -1,4 +1,4 @@
(function () {
define(['paperdialoghelper'], function (paperDialogHelper) {
var currentRecognition;
@ -87,7 +87,7 @@
var dlg = currentDialog;
if (dlg) {
PaperDialogHelper.close(dlg);
paperDialogHelper.close(dlg);
}
resolve();
@ -227,7 +227,7 @@
}
var currentDialog;
function showVoiceHelp(paperDialogHelper) {
function showVoiceHelp() {
var dlg = paperDialogHelper.createDialog({
size: 'medium',
@ -359,7 +359,7 @@
currentRecognition = recognition;
if (createUI !== false) {
require(['components/paperdialoghelper', 'paper-fab', 'css!voice/voice.css'], showVoiceHelp);
require(['paper-fab', 'css!voice/voice.css'], showVoiceHelp);
}
}
@ -378,4 +378,4 @@
startListening: startListening
};
})();
});