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

update components

This commit is contained in:
Luke Pulverenti 2015-11-21 12:02:16 -05:00
parent 9337fa578f
commit 465ea29e6b
17 changed files with 477 additions and 63 deletions

View file

@ -1,6 +1,6 @@
{
"name": "requirejs",
"version": "2.1.21",
"version": "2.1.22",
"ignore": [],
"homepage": "http://requirejs.org",
"authors": [
@ -15,11 +15,11 @@
"BSD-3-Clause",
"MIT"
],
"_release": "2.1.21",
"_release": "2.1.22",
"_resolution": {
"type": "version",
"tag": "2.1.21",
"commit": "3c1c4d7d6fd882e58828ab561d2a80f744167cd9"
"tag": "2.1.22",
"commit": "9cd0b99417eac61e890d11c5119f2e45e752c999"
},
"_source": "git://github.com/jrburke/requirejs-bower.git",
"_target": "~2.1.19",

View file

@ -1,6 +1,6 @@
{
"name": "requirejs",
"version": "2.1.21",
"version": "2.1.22",
"ignore": [],
"homepage": "http://requirejs.org",
"authors": [

View file

@ -1,5 +1,5 @@
/** vim: et:ts=4:sw=4:sts=4
* @license RequireJS 2.1.21 Copyright (c) 2010-2015, The Dojo Foundation All Rights Reserved.
* @license RequireJS 2.1.22 Copyright (c) 2010-2015, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
@ -12,7 +12,7 @@ var requirejs, require, define;
(function (global) {
var req, s, head, baseElement, dataMain, src,
interactiveScript, currentlyAddingScript, mainScript, subPath,
version = '2.1.21',
version = '2.1.22',
commentRegExp = /(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,
cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
jsSuffixRegExp = /\.js$/,
@ -916,7 +916,11 @@ var requirejs, require, define;
defined[id] = exports;
if (req.onResourceLoad) {
req.onResourceLoad(context, this.map, this.depMaps);
var resLoadMaps = [];
each(this.depMaps, function (depMap) {
resLoadMaps.push(depMap.normalizedMap || depMap);
});
req.onResourceLoad(context, this.map, resLoadMaps);
}
}
@ -975,6 +979,7 @@ var requirejs, require, define;
this.map.parentMap);
on(normalizedMap,
'defined', bind(this, function (value) {
this.map.normalizedMap = normalizedMap;
this.init([], function () { return value; }, null, {
enabled: true,
ignore: true
@ -1711,7 +1716,7 @@ var requirejs, require, define;
* Callback for script errors.
*/
onScriptError: function (evt) {
data = getScriptData(evt);
var data = getScriptData(evt);
if (!hasPathFallback(data.id)) {
var parents = [];
eachProp(registry, function(value, key) {