Added: Object-Assign v4.1.1 (#114)
This commit is contained in:
parent
81e5bbdc53
commit
387e0432d6
|
@ -524,6 +524,11 @@ var resources = {
|
|||
'path': 'resources/nvd3/{version}/nv.d3.min.css',
|
||||
'type': 'text/css'
|
||||
},
|
||||
// object-assign
|
||||
'objectAssign': {
|
||||
'path': 'resources/object-assign/{version}/object-assign.min.jsm',
|
||||
'type': 'application/javascript'
|
||||
},
|
||||
// ocLazyLoad
|
||||
'ocLazyLoad': {
|
||||
'path': 'resources/oclazyload/{version}/ocLazyLoad.min.jsm',
|
||||
|
|
|
@ -101,6 +101,13 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
|
|||
'path': 'resources/rocket-loader/latest/rocket-loader.min.jsm',
|
||||
'bundle': ''
|
||||
};
|
||||
} else if ((channelHost + channelPath) === 'unpkg.com/@umds/object-assign@4.1.1-beta.24/object-assign.min.js') {
|
||||
return {
|
||||
'source': channelHost,
|
||||
'versionRequested': '4.1.1',
|
||||
'path': 'resources/object-assign/4.1.1/object-assign.min.jsm',
|
||||
'bundle': ''
|
||||
};
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -481,6 +481,8 @@ helpers.setLastVersion = function (type, version) {
|
|||
} else if (type.includes('/mootools/1.')) {
|
||||
if (helpers.compareVersion('1.4.5', version)) return '1.4.5'; // <= v1.4.5
|
||||
else return '1.6.0'; // > 1.4.5
|
||||
} else if (type.includes('/object-assign@4.')) {
|
||||
return '4.1.1';
|
||||
} else if (type.includes('/oclazyload/1.')) {
|
||||
return '1.1.0';
|
||||
} else if (type.includes('/owl-carousel/1.')) {
|
||||
|
@ -593,6 +595,7 @@ helpers.compareVersion = function (v1, v2) {
|
|||
};
|
||||
|
||||
const ListOfFiles = {
|
||||
'object-assign.min.jsm': 'Object assign',
|
||||
'slick-lightbox.css': 'slick-lightbox CSS',
|
||||
'slick-lightbox.min.jsm': 'slick-lightbox JS',
|
||||
'noframework.waypoints.min.jsm': 'Waypoints (Bundle)',
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
New in LocalCDN:
|
||||
</div>
|
||||
<ul>
|
||||
<li></li>
|
||||
<li>Added: Object-Assign v4.1.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/114">#114</a>)</li>
|
||||
</ul>
|
||||
<div id="generator-section">
|
||||
<div class="topic-label">
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
!function(a,b){typeof exports==='object'&&typeof module!=='undefined'?module.exports=b():typeof define==='function'&&define.amd?define(b):(a.ObjectAssign=b())}(this,(function(){'use strict';var a=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;function d(a){if(a===null||a===undefined){throw new TypeError('Object.assign cannot be called with null or undefined')}return Object(a)}function e(){try{if(!Object.assign){return !1}var a=new String('abc');a[5]='de';if(Object.getOwnPropertyNames(a)[0]==='5'){return !1}var b={};for(var c=0;c<10;c++)b['_'+String.fromCharCode(c)]=c;var d=Object.getOwnPropertyNames(b).map(function(a){return b[a]});if(d.join('')!=='0123456789'){return !1}var e={};'abcdefghijklmnopqrst'.split('').forEach(function(a){e[a]=a});if(Object.keys(Object.assign({},e)).join('')!=='abcdefghijklmnopqrst'){return !1}return !0}catch(a){return !1}}var f=e()?Object.assign:function(e,f){var g,h=d(e),i;for(var j=1;j<arguments.length;j++){g=Object(arguments[j]);for(var k in g)b.call(g,k)&&(h[k]=g[k]);if(a){i=a(g);for(var l=0;l<i.length;l++)c.call(g,i[l])&&(h[i[l]]=g[i[l]])}}return h};return f}))
|
||||
//# sourceMappingURL=object-assign.min.js.map
|
Loading…
Reference in New Issue