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,
|
|
|
|
'backbone.js/{version}/backbone.': resources.backbone,
|
|
|
|
'backbone.js/{version}/backbone-min.': resources.backbone,
|
2020-03-16 14:39:47 +01:00
|
|
|
'bootstrap-slider/{version}/css/bootstrap-slider.min.': resources.bootstrapSlider,
|
2020-03-24 10:03:00 +01:00
|
|
|
'bootstrap-slider/{version}/bootstrap-slider.min.': resources.bootstrapSlider,
|
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-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-02-27 13:45:29 +01:00
|
|
|
'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-core': resources.mootools,
|
2020-03-24 08:45:14 +01:00
|
|
|
'page.js/{version}/page.min.': resources.pageJs,
|
2020-02-27 13:45:29 +01:00
|
|
|
'scriptaculous/{version}/scriptaculous.': resources.scriptaculous,
|
|
|
|
'swfobject/{version}/swfobject.': resources.swfobject,
|
2020-03-12 12:53:13 +01:00
|
|
|
'/twitter-bootstrap/{version}/js/bootstrap.min.': resources.bootstrapJS,
|
|
|
|
'/twitter-bootstrap/{version}/css/bootstrap.min.': resources.bootstrapCSS,
|
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,
|
|
|
|
'webfont/{version}/webfontloader.js': resources.webfont
|
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,
|
|
|
|
'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-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,
|
|
|
|
'swfobject@{version}/index.js': resources.swfobject,
|
|
|
|
'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,
|
|
|
|
'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,
|
|
|
|
'{version}/css/bootstrap.min.': resources.bootstrapCSS
|
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/']
|
|
|
|
};
|