2020-02-27 13:45:29 +01:00
|
|
|
/**
|
|
|
|
* Mappings
|
|
|
|
* Belongs to Decentraleyes.
|
|
|
|
*
|
|
|
|
* @author Thomas Rientjes
|
|
|
|
* @since 2014-05-30
|
|
|
|
* @license MPL 2.0
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*/
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Mappings
|
|
|
|
*/
|
|
|
|
|
2020-03-25 08:57:13 +01:00
|
|
|
var lastMappingUpdate = "2020-03-25";
|
2020-03-08 12:30:03 +01:00
|
|
|
|
2020-02-27 13:45:29 +01:00
|
|
|
var mappings = {
|
|
|
|
|
|
|
|
// Google Hosted Libraries
|
|
|
|
'ajax.googleapis.com': {
|
|
|
|
'/ajax/libs/': {
|
|
|
|
'angularjs/{version}/angular.': resources.angular,
|
2020-02-29 08:15:48 +01:00
|
|
|
'angularjs/{version}/angular-animate.': resources.angularAnimate,
|
|
|
|
'angularjs/{version}/angular-sanitize.': resources.angularSanitize,
|
|
|
|
'angularjs/{version}/angular-cookies.': resources.angularCookies,
|
|
|
|
'angularjs/{version}/angular-touch.': resources.angularTouch,
|
2020-02-27 13:45:29 +01:00
|
|
|
'dojo/{version}/dojo/dojo.': resources.dojo,
|
|
|
|
'ext-core/{version}/ext-core.': resources.extCore,
|
|
|
|
'ext-core/{version}/ext-core-debug.': resources.extCore,
|
|
|
|
'jquery/{version}/jquery.': resources.jQuery,
|
|
|
|
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
|
|
|
|
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
|
|
|
|
'mootools/{version}/mootools-yui-compressed.': resources.mootools,
|
|
|
|
'prototype/{version}/prototype.': resources.prototypeJS,
|
|
|
|
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
|
|
|
|
'swfobject/{version}/swfobject.': resources.swfobject,
|
|
|
|
'webfont/{version}/webfont.': resources.webfont,
|
2020-03-24 10:02:12 +01:00
|
|
|
'webfont/{version}/webfontloader.js': resources.webfontloader,
|
|
|
|
'webfont/1/webfont.js': resources.webfont
|
2020-02-27 13:45:29 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
// Microsoft Ajax CDN
|
|
|
|
'ajax.aspnetcdn.com': {
|
|
|
|
'/ajax/': {
|
|
|
|
'jQuery/jquery-{version}.': resources.jQuery,
|
|
|
|
'jquery/jquery-{version}.': resources.jQuery,
|
2020-03-05 17:15:47 +01:00
|
|
|
'modernizr/modernizr-{version}.': resources.modernizr,
|
2020-03-12 12:53:13 +01:00
|
|
|
'bootstrap/{version}/bootstrap.min.': resources.bootstrapJS
|
2020-02-27 13:45:29 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
// Microsoft Ajax CDN [Deprecated]
|
|
|
|
'ajax.microsoft.com': {
|
|
|
|
'/ajax/': {
|
|
|
|
'jQuery/jquery-{version}.': resources.jQuery,
|
|
|
|
'jquery/jquery-{version}.': resources.jQuery,
|
|
|
|
'modernizr/modernizr-{version}.': resources.modernizr
|
|
|
|
}
|
|
|
|
},
|
|
|
|
// CDNJS (Cloudflare)
|
|
|
|
'cdnjs.cloudflare.com': {
|
|
|
|
'/ajax/libs/': {
|
|
|
|
'angular.js/{version}/angular.': resources.angular,
|
2020-03-28 11:15:53 +01:00
|
|
|
'animate.css/{version}/animate.': resources.animateCSS,
|
2020-02-27 13:45:29 +01:00
|
|
|
'backbone.js/{version}/backbone.': resources.backbone,
|
|
|
|
'backbone.js/{version}/backbone-min.': resources.backbone,
|
2020-03-26 07:22:09 +01:00
|
|
|
'bootstrap-slider/{version}/css/bootstrap-slider.min.css': resources.bootstrapSliderCSS,
|
|
|
|
'bootstrap-slider/{version}/css/bootstrap-slider.css': resources.bootstrapSliderCSS,
|
|
|
|
'bootstrap-slider/{version}/bootstrap-slider.min.js': resources.bootstrapSliderJS,
|
2020-03-26 10:16:29 +01:00
|
|
|
'clipboard.js/{version}/clipboard.min.js': resources.clipboardJS,
|
2020-03-26 08:14:09 +01:00
|
|
|
'd3/{version}/d3.min.js': resources.d3JS,
|
2020-02-27 13:45:29 +01:00
|
|
|
'dojo/{version}/dojo.': resources.dojo,
|
|
|
|
'ember.js/{version}/ember.': resources.ember,
|
|
|
|
'ext-core/{version}/ext-core.': resources.extCore,
|
2020-03-25 12:11:53 +01:00
|
|
|
'font-awesome/{version}/css/font-awesome': resources.fontawesome,
|
2020-03-27 09:00:14 +01:00
|
|
|
'font-awesome/{version}/css/all.min.css': resources.fontawesome5,
|
2020-03-26 08:08:26 +01:00
|
|
|
'jeditable.js/{version}/jquery.jeditable.min.js': resources.jeditableJS,
|
|
|
|
'jeditable.js/{version}/jeditable.min.js': resources.jeditableJS,
|
2020-02-27 13:45:29 +01:00
|
|
|
'jquery/{version}/jquery.': resources.jQuery,
|
2020-03-03 07:44:50 +01:00
|
|
|
'jquery/{version}/jquery.min.': resources.jQuery,
|
2020-03-26 10:57:32 +01:00
|
|
|
'jquery.blockUI/{version}/jquery.blockUI.min.js': resources.jQueryBlockUI,
|
2020-04-03 08:42:57 +02:00
|
|
|
'jquery-migrate/{version}/jquery-migrate.min.js': resources.jQueryMigrate,
|
2020-02-27 13:45:29 +01:00
|
|
|
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
|
|
|
|
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
|
2020-03-26 07:41:01 +01:00
|
|
|
'jquery-validate/{version}/jquery.validate.min.js': resources.jqueryValidationPlugin,
|
2020-03-26 09:41:51 +01:00
|
|
|
'js-cookie/{version}/js.cookie.min.js': resources.jscookie,
|
2020-03-26 07:33:27 +01:00
|
|
|
'lazysizes/{version}/lazysizes.min.js': resources.lazysizes,
|
2020-02-27 13:45:29 +01:00
|
|
|
'modernizr/{version}/modernizr.': resources.modernizr,
|
|
|
|
'moment.js/{version}/moment.': resources.moment,
|
2020-03-24 08:11:03 +01:00
|
|
|
'moment.js/{version}/moment.min.': resources.moment,
|
2020-02-27 13:45:29 +01:00
|
|
|
'mootools/{version}/mootools-core': resources.mootools,
|
2020-03-24 08:45:14 +01:00
|
|
|
'page.js/{version}/page.min.': resources.pageJs,
|
2020-03-26 11:18:10 +01:00
|
|
|
'plyr/{version}/plyr.css': resources.plyrCSS,
|
2020-03-26 07:48:48 +01:00
|
|
|
'rickshaw/{version}/rickshaw.min.css': resources.rickshawCSS,
|
|
|
|
'rickshaw/{version}/rickshaw.min.js': resources.rickshawJS,
|
2020-02-27 13:45:29 +01:00
|
|
|
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
|
2020-04-03 08:42:16 +02:00
|
|
|
'select2/{version}/js/select2.min.js': resources.select2js,
|
|
|
|
'select2/{version}/css/select2.min.css': resources.select2css,
|
2020-03-26 10:57:11 +01:00
|
|
|
'spin.js/{version}/spin.min.js': resources.spinJS,
|
2020-02-27 13:45:29 +01:00
|
|
|
'swfobject/{version}/swfobject.': resources.swfobject,
|
2020-03-26 07:24:37 +01:00
|
|
|
'toastr.js/{version}/toastr.min.css': resources.toastrCSS,
|
|
|
|
'toastr.js/{version}/toastr.min.js': resources.toastrJS,
|
2020-03-26 07:23:43 +01:00
|
|
|
'twitter-bootstrap/{version}/js/bootstrap.min.js': resources.twitterBootstrapJS,
|
2020-03-28 11:15:53 +01:00
|
|
|
'twitter-bootstrap/{version}/css/bootstrap.': resources.twitterBootstrapCSS,
|
2020-02-27 13:45:29 +01:00
|
|
|
'underscore.js/{version}/underscore.': resources.underscore,
|
|
|
|
'underscore.js/{version}/underscore-min.': resources.underscore,
|
2020-03-24 08:45:14 +01:00
|
|
|
'vue/{version}/vue.min.js': resources.vueJs,
|
2020-03-24 10:02:12 +01:00
|
|
|
'webfont/{version}/webfont.js': resources.webfont,
|
2020-03-26 07:25:20 +01:00
|
|
|
'webfont/{version}/webfontloader.js': resources.webfont,
|
2020-03-26 10:38:02 +01:00
|
|
|
'webrtc-adapter/{version}/adapter.min.js': resources.webRTCadapter,
|
2020-03-26 07:25:20 +01:00
|
|
|
'wow/{version}/wow.min.': resources.wow
|
2020-02-27 13:45:29 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
// jQuery CDN (MaxCDN)
|
|
|
|
'code.jquery.com': {
|
|
|
|
'/': {
|
|
|
|
'jquery-{version}.': resources.jQuery,
|
|
|
|
'ui/{version}/jquery-ui.js': resources.jQueryUI,
|
|
|
|
'ui/{version}/jquery-ui.min.js': resources.jQueryUI,
|
|
|
|
|
|
|
|
// Basic Shorthand Notations [Deprecated]
|
|
|
|
'jquery-latest.': {
|
|
|
|
'path': 'resources/jquery/1.11.1/jquery.min.jsm',
|
|
|
|
'type': 'application/javascript'
|
|
|
|
},
|
|
|
|
'jquery.': {
|
|
|
|
'path': 'resources/jquery/1.11.1/jquery.min.jsm',
|
|
|
|
'type': 'application/javascript'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2020-03-16 15:25:18 +01:00
|
|
|
// jsDelivr (Cloudflare)
|
2020-02-27 13:45:29 +01:00
|
|
|
'cdn.jsdelivr.net': {
|
2020-03-16 15:25:18 +01:00
|
|
|
'/npm/': {
|
|
|
|
'angular@{version}/angular.': resources.angular,
|
|
|
|
'angular@{version}/angular.min.': resources.angular,
|
2020-03-27 09:00:14 +01:00
|
|
|
'animate.css@{version}/animate.min.css': resources.animateCSS,
|
2020-03-16 15:25:18 +01:00
|
|
|
'backbone@{version}/backbone.': resources.backbone,
|
|
|
|
'backbone@{version}/backbone-min.': resources.backbone,
|
|
|
|
'backbone@{version}/backbone.min.': resources.backbone,
|
|
|
|
'dojo@{version}/dojo.': resources.dojo,
|
|
|
|
'ember-source@{version}/dist/ember.': resources.ember,
|
|
|
|
'ember-source@{version}/dist/ember.min.': resources.ember,
|
|
|
|
'ember-source@{version}/dist/legacy/ember.': resources.ember,
|
|
|
|
'ember-source@{version}/dist/legacy/ember.min.': resources.ember,
|
2020-03-24 08:03:08 +01:00
|
|
|
'@findify/bundle@{version}/dist/bundle.js': resources.findifyBundle,
|
|
|
|
'@findify/bundle@{version}/dist/components.js': resources.findifyBundle,
|
|
|
|
'@findify/bundle@{version}/dist/config.js': resources.findifyBundle,
|
|
|
|
'@findify/bundle@{version}/dist/initializer.js': resources.findifyBundle,
|
|
|
|
'@findify/bundle@{version}/dist/polyfill.js': resources.findifyBundle,
|
|
|
|
'@findify/bundle@{version}/dist/vendors~components~initializer.js': resources.findifyBundle,
|
|
|
|
'@findify/bundle@{version}/dist/vendors~initializer.js': resources.findifyBundle,
|
|
|
|
'@findify/bundle@{version}/dist/vendors~sentry.js': resources.findifyBundle,
|
2020-03-28 18:56:07 +01:00
|
|
|
'flv.js/dist/flv.min.js': resources.flvJS,
|
2020-03-28 19:00:46 +01:00
|
|
|
'hls.js/dist/hls.min.js': resources.hlsJS,
|
2020-03-16 15:25:18 +01:00
|
|
|
'jquery@{version}/dist/jquery.': resources.jQuery,
|
|
|
|
'jquery@{version}/dist/jquery.min.': resources.jQuery,
|
|
|
|
'jquery-ui@{version}/jquery-ui.js': resources.jQueryUI,
|
|
|
|
'jquery-ui@{version}/jquery-ui.min.js': resources.jQueryUI,
|
|
|
|
'jquery-ui-dist@{version}/jquery-ui.js': resources.jQueryUI,
|
|
|
|
'jquery-ui-dist@{version}/jquery-ui.min.js': resources.jQueryUI,
|
2020-03-24 07:48:45 +01:00
|
|
|
'lozad': resources.lozad,
|
2020-03-16 15:25:18 +01:00
|
|
|
'npm-modernizr@{version}/modernizr.': resources.modernizr,
|
|
|
|
'npm-modernizr@{version}/modernizr.min.': resources.modernizr,
|
|
|
|
'moment@{version}/moment.': resources.moment,
|
|
|
|
'moment@{version}/moment.min.': resources.moment,
|
|
|
|
'mootools@{version}/lib/mootools-core-{version}-server.': resources.mootools,
|
|
|
|
'mootools@{version}/lib/mootools-core-{version}-server.min.': resources.mootools,
|
2020-03-26 09:41:14 +01:00
|
|
|
'p2p-media-loader-core@latest/build/p2p-media-loader-core.min.js': resources.p2pMediaLoaderCore,
|
2020-03-16 15:25:18 +01:00
|
|
|
'swfobject@{version}/index.js': resources.swfobject,
|
2020-03-27 09:00:14 +01:00
|
|
|
'store-js@{version}/dist/store.legacy.min.js': resources.storeJS,
|
2020-03-16 15:25:18 +01:00
|
|
|
'scriptaculous-js@{version}/scriptaculous.': resources.scriptaculous,
|
|
|
|
'underscore@{version}/underscore.': resources.underscore,
|
|
|
|
'underscore@{version}/underscore-min.': resources.underscore,
|
|
|
|
'webfontloader@{version}/webfontloader.': resources.webfont
|
|
|
|
},
|
|
|
|
// Deprecated (?)
|
2020-02-27 13:45:29 +01:00
|
|
|
'/': {
|
|
|
|
'angularjs/{version}/angular.': resources.angular,
|
|
|
|
'backbonejs/{version}/backbone.': resources.backbone,
|
|
|
|
'backbonejs/{version}/backbone-min.': resources.backbone,
|
|
|
|
'dojo/{version}/dojo.': resources.dojo,
|
|
|
|
'emberjs/{version}/ember.': resources.ember,
|
|
|
|
'jquery/{version}/jquery.': resources.jQuery,
|
2020-02-29 08:17:30 +01:00
|
|
|
'npm/jquery@{version}/dist/jquery.': resources.jQuery,
|
2020-02-27 13:45:29 +01:00
|
|
|
'jquery.ui/{version}/jquery-ui.js': resources.jQueryUI,
|
|
|
|
'jquery.ui/{version}/jquery-ui.min.js': resources.jQueryUI,
|
|
|
|
'momentjs/{version}/moment.': resources.moment,
|
2020-03-24 08:11:03 +01:00
|
|
|
'momentjs/{version}/moment.min.': resources.moment,
|
2020-02-27 13:45:29 +01:00
|
|
|
'mootools/{version}/mootools-': resources.mootools,
|
|
|
|
'swfobject/{version}/swfobject.': resources.swfobject,
|
|
|
|
'underscorejs/{version}/underscore.': resources.underscore,
|
|
|
|
'underscorejs/{version}/underscore-min.': resources.underscore,
|
|
|
|
'webfontloader/{version}/webfont': resources.webfont
|
|
|
|
}
|
|
|
|
},
|
|
|
|
// Yandex CDN
|
|
|
|
'yastatic.net': {
|
|
|
|
'/': {
|
|
|
|
'angularjs/{version}/angular.': resources.angular,
|
|
|
|
'backbone/{version}/backbone.': resources.backbone,
|
|
|
|
'backbone/{version}/backbone-min.': resources.backbone,
|
|
|
|
'dojo/{version}/dojo/dojo.': resources.dojo,
|
|
|
|
'ext-core/{version}/ext-core.': resources.extCore,
|
|
|
|
'jquery/{version}/jquery.': resources.jQuery,
|
|
|
|
'jquery-ui/{version}/jquery-ui.js': resources.jQueryUI,
|
|
|
|
'jquery-ui/{version}/jquery-ui.min.js': resources.jQueryUI,
|
|
|
|
'modernizr/{version}/modernizr.': resources.modernizr,
|
|
|
|
'momentjs/{version}/moment.': resources.moment,
|
2020-03-24 08:11:03 +01:00
|
|
|
'momentjs/{version}/moment.min.': resources.moment,
|
2020-02-27 13:45:29 +01:00
|
|
|
'prototype/{version}/prototype.': resources.prototypeJS,
|
|
|
|
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
|
|
|
|
'swfobject/{version}/swfobject.': resources.swfobject,
|
|
|
|
'underscore/{version}/underscore.': resources.underscore,
|
|
|
|
'underscore/{version}/underscore-min.': resources.underscore
|
|
|
|
}
|
|
|
|
},
|
|
|
|
// Yandex CDN [Deprecated]
|
|
|
|
'yandex.st': {
|
|
|
|
'/': {
|
|
|
|
'angularjs/{version}/angular.': resources.angular,
|
|
|
|
'backbone/{version}/backbone.': resources.backbone,
|
|
|
|
'backbone/{version}/backbone-min.': resources.backbone,
|
|
|
|
'dojo/{version}/dojo/dojo.': resources.dojo,
|
|
|
|
'ext-core/{version}/ext-core.': resources.extCore,
|
|
|
|
'jquery/{version}/jquery.': resources.jQuery,
|
|
|
|
'jquery-ui/{version}/jquery-ui.js': resources.jQueryUI,
|
|
|
|
'jquery-ui/{version}/jquery-ui.min.js': resources.jQueryUI,
|
|
|
|
'modernizr/{version}/modernizr.': resources.modernizr,
|
|
|
|
'momentjs/{version}/moment.': resources.moment,
|
2020-03-24 08:11:03 +01:00
|
|
|
'momentjs/{version}/moment.min.': resources.moment,
|
2020-02-27 13:45:29 +01:00
|
|
|
'prototype/{version}/prototype.': resources.prototypeJS,
|
|
|
|
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
|
|
|
|
'swfobject/{version}/swfobject.': resources.swfobject,
|
|
|
|
'underscore/{version}/underscore.': resources.underscore,
|
|
|
|
'underscore/{version}/underscore-min.': resources.underscore
|
|
|
|
}
|
|
|
|
},
|
|
|
|
// Baidu CDN
|
|
|
|
'apps.bdimg.com': {
|
|
|
|
'/libs/': {
|
|
|
|
'angular.js/{version}/angular.': resources.angular,
|
|
|
|
'backbone.js/{version}/backbone.': resources.backbone,
|
|
|
|
'backbone.js/{version}/backbone-min.': resources.backbone,
|
|
|
|
'dojo/{version}/dojo.': resources.dojo,
|
|
|
|
'ember.js/{version}/ember.': resources.ember,
|
|
|
|
'ext-core/{version}/ext-core.': resources.extCore,
|
|
|
|
'jquery/{version}/jquery.': resources.jQuery,
|
|
|
|
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
|
|
|
|
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
|
|
|
|
'moment/{version}/moment.': resources.moment,
|
2020-03-24 08:11:03 +01:00
|
|
|
'moment/{version}/moment.min.': resources.moment,
|
2020-02-27 13:45:29 +01:00
|
|
|
'mootools/{version}/mootools-yui-compressed.': resources.mootools,
|
|
|
|
'prototype/{version}/prototype.': resources.prototypeJS,
|
|
|
|
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
|
|
|
|
'swfobject/{version}/swfobject.': resources.swfobject,
|
|
|
|
'swfobject/{version}/swfobject_src.': resources.swfobject,
|
|
|
|
'underscore.js/{version}/underscore.': resources.underscore,
|
|
|
|
'underscore.js/{version}/underscore-min.': resources.underscore,
|
|
|
|
'webfont/{version}/webfont.': resources.webfont,
|
|
|
|
'webfont/{version}/webfont_debug.': resources.webfont
|
|
|
|
}
|
|
|
|
},
|
2020-02-29 08:18:43 +01:00
|
|
|
// Baidu CDN
|
2020-02-27 13:45:29 +01:00
|
|
|
'libs.baidu.com': {
|
|
|
|
'/': {
|
2020-02-29 08:18:43 +01:00
|
|
|
'angular.js/{version}/angular.min.js': resources.angularjs,
|
|
|
|
'backbone.js/{version}/backbone.': resources.backbone,
|
|
|
|
'backbone.js/{version}/backbone-min.': resources.backbone,
|
2020-02-27 13:45:29 +01:00
|
|
|
'dojo/{version}/dojo.': resources.dojo,
|
2020-02-29 08:18:43 +01:00
|
|
|
'ember.js/{version}/ember.min.js': resources.ember.js,
|
2020-02-27 13:45:29 +01:00
|
|
|
'ext-core/{version}/ext-core.': resources.extCore,
|
|
|
|
'jquery/{version}/jquery.': resources.jQuery,
|
|
|
|
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
|
|
|
|
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
|
|
|
|
'moment/{version}/moment.': resources.moment,
|
2020-03-24 08:11:03 +01:00
|
|
|
'moment/{version}/moment.min.': resources.moment,
|
2020-02-27 13:45:29 +01:00
|
|
|
'mootools/{version}/mootools-yui-compressed.': resources.mootools,
|
|
|
|
'prototype/{version}/prototype.': resources.prototypeJS,
|
|
|
|
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
|
|
|
|
'swfobject/{version}/swfobject.': resources.swfobject,
|
2020-02-29 08:18:43 +01:00
|
|
|
'underscore.js/{version}/underscore.': resources.underscore,
|
|
|
|
'underscore.js/{version}/underscore-min.': resources.underscore,
|
|
|
|
'webfont/{version}/webfont.': resources.webfont,
|
|
|
|
'webfont/{version}/webfont_debug.': resources.webfont
|
|
|
|
},
|
|
|
|
'/libs/': {
|
|
|
|
'angular.js/{version}/angular.min.js': resources.angularjs,
|
|
|
|
'backbone.js/{version}/backbone.': resources.backbone,
|
|
|
|
'backbone.js/{version}/backbone-min.': resources.backbone,
|
|
|
|
'dojo/{version}/dojo.': resources.dojo,
|
|
|
|
'ember.js/{version}/ember.min.js': resources.ember.js,
|
|
|
|
'ext-core/{version}/ext-core.': resources.extCore,
|
|
|
|
'jquery/{version}/jquery.': resources.jQuery,
|
|
|
|
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
|
|
|
|
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
|
|
|
|
'mootools/{version}/mootools-yui-compressed.': resources.mootools,
|
|
|
|
'prototype/{version}/prototype.': resources.prototypeJS,
|
|
|
|
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
|
|
|
|
'swfobject/{version}/swfobject.': resources.swfobject,
|
|
|
|
'underscore.js/{version}/underscore.': resources.underscore,
|
|
|
|
'underscore.js/{version}/underscore-min.': resources.underscore,
|
|
|
|
'webfont/{version}/webfont.': resources.webfont,
|
|
|
|
'webfont/{version}/webfont_debug.': resources.webfont
|
|
|
|
}
|
|
|
|
},
|
|
|
|
// Baidu CDN
|
|
|
|
'apps.bdimg.com': {
|
|
|
|
'/libs/': {
|
|
|
|
'angular.js/{version}/angular.min.js': resources.angularjs,
|
|
|
|
'backbone.js/{version}/backbone.': resources.backbone,
|
|
|
|
'backbone.js/{version}/backbone-min.': resources.backbone,
|
|
|
|
'dojo/{version}/dojo.': resources.dojo,
|
|
|
|
'ember.js/{version}/ember.min.js': resources.ember.js,
|
|
|
|
'ext-core/{version}/ext-core.': resources.extCore,
|
|
|
|
'jquery/{version}/jquery.': resources.jQuery,
|
|
|
|
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
|
|
|
|
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
|
|
|
|
'mootools/{version}/mootools-yui-compressed.': resources.mootools,
|
|
|
|
'prototype/{version}/prototype.': resources.prototypeJS,
|
|
|
|
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
|
|
|
|
'swfobject/{version}/swfobject.': resources.swfobject,
|
|
|
|
'underscore.js/{version}/underscore.': resources.underscore,
|
|
|
|
'underscore.js/{version}/underscore-min.': resources.underscore,
|
|
|
|
'webfont/{version}/webfont.': resources.webfont,
|
|
|
|
'webfont/{version}/webfont_debug.': resources.webfont
|
|
|
|
}
|
|
|
|
},
|
|
|
|
// Staticfile CDN
|
|
|
|
'cdn.staticfile.org': {
|
|
|
|
'/': {
|
|
|
|
'angular.js/{version}/angular.min.js': resources.angularjs,
|
|
|
|
'backbone.js/{version}/backbone.': resources.backbone,
|
|
|
|
'backbone.js/{version}/backbone-min.': resources.backbone,
|
|
|
|
'dojo/{version}/dojo.': resources.dojo,
|
|
|
|
'ember.js/{version}/ember.min.js': resources.ember.js,
|
|
|
|
'ext-core/{version}/ext-core.': resources.extCore,
|
|
|
|
'jquery/{version}/jquery.': resources.jQuery,
|
|
|
|
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
|
|
|
|
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
|
|
|
|
'modernizr/{version}/modernizr.': resources.modernizr,
|
|
|
|
'mootools/{version}/mootools-yui-compressed.': resources.mootools,
|
|
|
|
'prototype/{version}/prototype.': resources.prototypeJS,
|
|
|
|
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
|
|
|
|
'swfobject/{version}/swfobject.': resources.swfobject,
|
|
|
|
'webfont/{version}/webfont.': resources.webfont,
|
|
|
|
'webfont/{version}/webfont_debug.': resources.webfont
|
|
|
|
}
|
|
|
|
},
|
|
|
|
// BootCDN
|
|
|
|
'cdn.bootcss.com': {
|
|
|
|
'/': {
|
|
|
|
'angular.js/{version}/angular.min.js': resources.angularjs,
|
|
|
|
'backbone.js/{version}/backbone.': resources.backbone,
|
|
|
|
'backbone.js/{version}/backbone-min.': resources.backbone,
|
|
|
|
'dojo/{version}/dojo.': resources.dojo,
|
|
|
|
'ember.js/{version}/ember.min.js': resources.ember.js,
|
|
|
|
'ext-core/{version}/ext-core.': resources.extCore,
|
|
|
|
'jquery/{version}/jquery.': resources.jQuery,
|
|
|
|
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
|
|
|
|
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
|
|
|
|
'modernizr/{version}/modernizr.': resources.modernizr,
|
|
|
|
'mootools/{version}/mootools-yui-compressed.': resources.mootools,
|
|
|
|
'prototype/{version}/prototype.': resources.prototypeJS,
|
|
|
|
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
|
|
|
|
'swfobject/{version}/swfobject.': resources.swfobject,
|
|
|
|
'underscore.js/{version}/underscore.': resources.underscore,
|
|
|
|
'underscore.js/{version}/underscore-min.': resources.underscore,
|
|
|
|
'webfont/{version}/webfont.': resources.webfont,
|
|
|
|
'webfont/{version}/webfont_debug.': resources.webfont
|
|
|
|
}
|
|
|
|
},
|
|
|
|
// Tencent Public Libraries
|
|
|
|
'mat1.gtimg.com': {
|
|
|
|
'/libs/' :{
|
|
|
|
'angular.js/{version}/angular.min.js': resources.angularjs,
|
|
|
|
'jquery/{version}/jquery.': resources.jQuery,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
// Qihoo 360 CDN
|
|
|
|
'lib.baomitu.com': {
|
|
|
|
'/': {
|
|
|
|
'angular.js/{version}/angular.min.js': resources.angularjs,
|
|
|
|
'backbone.js/{version}/backbone.': resources.backbone,
|
|
|
|
'backbone.js/{version}/backbone-min.': resources.backbone,
|
|
|
|
'dojo/{version}/dojo.': resources.dojo,
|
|
|
|
'ember.js/{version}/ember.min.js': resources.ember.js,
|
|
|
|
'ext-core/{version}/ext-core.': resources.extCore,
|
|
|
|
'jquery/{version}/jquery.': resources.jQuery,
|
|
|
|
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
|
|
|
|
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
|
|
|
|
'modernizr/{version}/modernizr.': resources.modernizr,
|
|
|
|
'mootools/{version}/mootools-yui-compressed.': resources.mootools,
|
|
|
|
'prototype/{version}/prototype.': resources.prototypeJS,
|
|
|
|
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
|
|
|
|
'swfobject/{version}/swfobject.': resources.swfobject,
|
|
|
|
'underscore.js/{version}/underscore.': resources.underscore,
|
|
|
|
'underscore.js/{version}/underscore-min.': resources.underscore,
|
2020-02-27 13:45:29 +01:00
|
|
|
'webfont/{version}/webfont.': resources.webfont,
|
|
|
|
'webfont/{version}/webfont_debug.': resources.webfont
|
|
|
|
}
|
|
|
|
},
|
|
|
|
// Sina Public Resources
|
|
|
|
'lib.sinaapp.com': {
|
|
|
|
'/js/': {
|
|
|
|
'angular.js/angular-{version}/angular.': resources.angular,
|
|
|
|
'backbone/{version}/backbone.': resources.backbone,
|
|
|
|
'dojo/{version}/dojo.': resources.dojo,
|
|
|
|
'ext-core/{version}/ext-core.': resources.extCore,
|
|
|
|
'ext-core/{version}/ext-core-debug.': resources.extCore,
|
|
|
|
'jquery/{version}/jquery.': resources.jQuery,
|
2020-03-29 06:47:50 +02:00
|
|
|
'jquery/{version}/jquery-': resources.jQuery,
|
2020-02-27 13:45:29 +01:00
|
|
|
'jquery-ui/{version}/jquery-ui.js': resources.jQueryUI,
|
|
|
|
'jquery-ui/{version}/jquery-ui.min.js': resources.jQueryUI,
|
|
|
|
'mootools/{version}/mootools.': resources.mootools,
|
|
|
|
'prototype/{version}/prototype.': resources.prototypeJS,
|
|
|
|
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
|
|
|
|
'swfobject/{version}/swfobject.': resources.swfobject,
|
|
|
|
'underscore/{version}/underscore.': resources.underscore,
|
|
|
|
'underscore/{version}/underscore-min.': resources.underscore,
|
|
|
|
'webfont/{version}/webfont.': resources.webfont,
|
|
|
|
'webfont/{version}/webfont_debug.': resources.webfont
|
|
|
|
}
|
|
|
|
},
|
|
|
|
// UpYun Library
|
|
|
|
'upcdn.b0.upaiyun.com': {
|
|
|
|
'/libs/': {
|
|
|
|
'dojo/dojo-{version}.': resources.dojo,
|
|
|
|
'emberjs/emberjs-{version}.': resources.ember,
|
|
|
|
'jquery/jquery-{version}.': resources.jQuery,
|
|
|
|
'jqueryui/jquery.ui-{version}.js': resources.jQueryUI,
|
|
|
|
'jqueryui/jquery.ui-{version}.min.js': resources.jQueryUI,
|
|
|
|
'modernizr/modernizr-{version}.': resources.modernizr,
|
|
|
|
'mootoolscore/mootools.core-{version}.': resources.mootools
|
|
|
|
}
|
|
|
|
},
|
|
|
|
// BootCDN
|
|
|
|
'cdn.bootcss.com': {
|
|
|
|
'/': {
|
|
|
|
'angular.js/{version}/angular.': resources.angular,
|
|
|
|
'backbone.js/{version}/backbone.': resources.backbone,
|
|
|
|
'backbone.js/{version}/backbone-min.': resources.backbone,
|
|
|
|
'dojo/{version}/dojo.': resources.dojo,
|
|
|
|
'ember.js/{version}/ember.': resources.ember,
|
|
|
|
'ext-core/{version}/ext-core.': resources.extCore,
|
|
|
|
'jquery/{version}/jquery.': resources.jQuery,
|
|
|
|
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
|
|
|
|
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
|
|
|
|
'modernizr/{version}/modernizr.': resources.modernizr,
|
|
|
|
'moment.js/{version}/moment.': resources.moment,
|
2020-03-24 08:11:03 +01:00
|
|
|
'moment.js/{version}/moment.min.': resources.moment,
|
2020-02-27 13:45:29 +01:00
|
|
|
'mootools/{version}/mootools-yui-compressed.': resources.mootools,
|
|
|
|
'prototype/{version}/prototype.': resources.prototypeJS,
|
|
|
|
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
|
|
|
|
'swfobject/{version}/swfobject.': resources.swfobject,
|
|
|
|
'underscore.js/{version}/underscore.': resources.underscore,
|
|
|
|
'underscore.js/{version}/underscore-min.': resources.underscore,
|
|
|
|
'webfont/{version}/webfontloader.': resources.webfont
|
|
|
|
}
|
2020-02-27 14:08:22 +01:00
|
|
|
},
|
2020-02-27 17:23:39 +01:00
|
|
|
// StackPath BootstrapCDN
|
2020-02-27 14:08:22 +01:00
|
|
|
'stackpath.bootstrapcdn.com': {
|
2020-03-12 06:42:31 +01:00
|
|
|
'/': {
|
2020-03-12 12:53:13 +01:00
|
|
|
'bootstrap/{version}/js/bootstrap.min.': resources.bootstrapJS,
|
|
|
|
'bootstrap/{version}/css/bootstrap.min.': resources.bootstrapCSS,
|
2020-03-25 12:11:53 +01:00
|
|
|
'font-awesome/{version}/css/font-awesome': resources.fontawesome
|
2020-02-27 14:08:22 +01:00
|
|
|
}
|
2020-02-29 08:19:41 +01:00
|
|
|
},
|
|
|
|
// MaxCDN Bootstrap
|
|
|
|
'maxcdn.bootstrapcdn.com': {
|
2020-03-25 08:52:40 +01:00
|
|
|
'/': {
|
|
|
|
'bootstrap/{version}/js/bootstrap.min.': resources.bootstrapJS,
|
|
|
|
'bootstrap/{version}/css/bootstrap.min.': resources.bootstrapCSS,
|
2020-03-25 12:11:53 +01:00
|
|
|
'font-awesome/{version}/css/font-awesome': resources.fontawesome
|
2020-02-29 08:19:41 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
// NetDNA Bootstrap
|
|
|
|
'netdna.bootstrapcdn.com': {
|
|
|
|
'/bootstrap/': {
|
2020-03-12 12:53:13 +01:00
|
|
|
'{version}/js/bootstrap.min.': resources.bootstrapJS,
|
2020-03-29 16:16:21 +02:00
|
|
|
'{version}/css/bootstrap.min.': resources.bootstrapCSS
|
2020-03-27 17:29:01 +01:00
|
|
|
},
|
|
|
|
'/font-awesome/': {
|
|
|
|
'{version}/css/font-awesome.css': resources.fontawesome
|
2020-02-29 08:19:41 +01:00
|
|
|
}
|
2020-03-13 17:51:50 +01:00
|
|
|
},
|
|
|
|
// Font Awesome CDN
|
|
|
|
'use.fontawesome.com': {
|
|
|
|
'/releases/v': {
|
|
|
|
'{version}/css/all.css': resources.fontawesome5
|
|
|
|
}
|
2020-03-25 08:52:40 +01:00
|
|
|
},
|
|
|
|
// Cloudflare Rocket-Loader
|
|
|
|
'ajax.cloudflare.com': {
|
|
|
|
'/': {
|
|
|
|
'cdn-cgi/scripts/7089c43e/cloudflare-static/rocket-loader.min.': resources.cfRocketLoader
|
|
|
|
}
|
2020-03-25 15:31:33 +01:00
|
|
|
},
|
|
|
|
// Akamai WebCDN
|
|
|
|
'akamai-webcdn.kgstatic.net': {
|
|
|
|
'/': {
|
|
|
|
'renewal/static/js/lozad.min.': resources.lozad
|
|
|
|
}
|
2020-02-27 13:45:29 +01:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
// Geekzu Public Service [Mirror]
|
|
|
|
mappings['sdn.geekzu.org'] = {
|
|
|
|
'/ajax/ajax/libs/': mappings['ajax.googleapis.com']['/ajax/libs/']
|
|
|
|
};
|
|
|
|
|
|
|
|
// USTC Linux User Group [Mirror]
|
|
|
|
mappings['ajax.proxy.ustclug.org'] = mappings['ajax.googleapis.com'];
|
2020-03-16 15:25:18 +01:00
|
|
|
|
|
|
|
|
|
|
|
//UNPKG (Cloudflare)
|
|
|
|
mappings['unpkg.com'] = {
|
|
|
|
'/': mappings['cdn.jsdelivr.net']['/npm/']
|
|
|
|
};
|