diff --git a/core/mappings.js b/core/mappings.js
index 7e99d6e3..712bd2f5 100644
--- a/core/mappings.js
+++ b/core/mappings.js
@@ -240,6 +240,7 @@ var mappings = {
'jquery.blockUI/{version}/jquery.blockUI.min.js': resources.jQueryBlockUI,
'jquery-csv/{version}/jquery.csv.min.js': resources.jQueryCSV,
'jquery.lazyload/{version}/jquery.lazyload.min.js': resources.jQueryLazyLoad,
+ 'jquery.lazy/{version}/': resources.jQueryLazyBundle,
'jquery-migrate/{version}/jquery-migrate.min.js': resources.jQueryMigrate,
'jqueryui/{version}/jquery-ui.js': resources.jQueryUI,
'jqueryui/{version}/jquery-ui.min.js': resources.jQueryUI,
diff --git a/core/resources.js b/core/resources.js
index a4f5c639..b249efb3 100644
--- a/core/resources.js
+++ b/core/resources.js
@@ -344,6 +344,11 @@ var resources = {
'path': 'resources/jquery.lazyload/{version}/jquery.lazyload.min.jsm',
'type': 'application/javascript'
},
+ // jQuery Lazy (Bundle)
+ 'jQueryLazyBundle': {
+ 'path': 'resources/jquery.lazy/{version}/',
+ 'type': 'application/javascript'
+ },
// jQuery Migrate
'jQueryMigrate': {
'path': 'resources/jquery-migrate/{version}/jquery-migrate.min.jsm',
diff --git a/modules/internal/helpers.js b/modules/internal/helpers.js
index 27f983cb..1781b1e1 100644
--- a/modules/internal/helpers.js
+++ b/modules/internal/helpers.js
@@ -241,6 +241,8 @@ helpers.determineBundle = function (path = '') {
return 'Findify';
} else if (path.includes('bootstrap-datepicker')) {
return 'Bootstrap Datepicker';
+ } else if (path.includes('/jquery.lazy/')) {
+ return 'jQuery Lazy';
} else {
return '';
}
@@ -413,6 +415,8 @@ helpers.setLastVersion = function (type, version) {
return '1.0.9';
} else if (type.includes('/jquery.lazyload/1.')) {
return '1.9.1';
+ } else if (type.includes('/jquery.lazy/1.')) {
+ return '1.7.11';
} else if (type.includes('/jquery-migrate/1.')) {
return '1.4.1';
} else if (type.includes('/jquery-migrate/3.')) {
@@ -561,6 +565,16 @@ helpers.compareVersion = function (v1, v2) {
};
const ListOfFiles = {
+ 'jquery.lazy.min.jsm': 'jQuery Lazy (Bundle)',
+ 'jquery.lazy.plugins.min.jsm': 'jQuery Lazy (Bundle)',
+ 'jquery.lazy.ajax.min.jsm': 'jQuery Lazy (Bundle)',
+ 'jquery.lazy.av.min.jsm': 'jQuery Lazy (Bundle)',
+ 'jquery.lazy.iframe.min.jsm': 'jQuery Lazy (Bundle)',
+ 'jquery.lazy.noop.min.jsm': 'jQuery Lazy (Bundle)',
+ 'jquery.lazy.picture.min.jsm': 'jQuery Lazy (Bundle)',
+ 'jquery.lazy.script.min.jsm': 'jQuery Lazy (Bundle)',
+ 'jquery.lazy.vimeo.min.jsm': 'jQuery Lazy (Bundle)',
+ 'jquery.lazy.youtube.min.jsm': 'jQuery Lazy (Bundle)',
'fa-loader.jsm': 'Font Awesome CSS (WFL)',
'fa-loader.css': 'Font Awesome JS (WFL)',
'jquery.tooltipster.min.jsm': 'Tooltipster',
diff --git a/pages/updates/updates.html b/pages/updates/updates.html
index 60da26e4..650ac5b2 100644
--- a/pages/updates/updates.html
+++ b/pages/updates/updates.html
@@ -31,6 +31,7 @@
Added: Fancybox to cdn.jsdelivr.net (#86)
Added: Mapping of Google Material Icons (#87)
Updated: Handling of Google Fonts (#85)
+ Added: jQuery Lazy (with Plugins) v1.7.11 (#88)
diff --git a/resources/jquery.lazy/1.7.11/jquery.lazy.min.jsm b/resources/jquery.lazy/1.7.11/jquery.lazy.min.jsm
new file mode 100644
index 00000000..7c5adde1
--- /dev/null
+++ b/resources/jquery.lazy/1.7.11/jquery.lazy.min.jsm
@@ -0,0 +1,2 @@
+/*! jQuery & Zepto Lazy v1.7.10 - http://jquery.eisbehr.de/lazy - MIT&GPL-2.0 license - Copyright 2012-2018 Daniel 'Eisbehr' Kern */
+!function(t,e){"use strict";function r(r,a,i,u,l){function f(){L=t.devicePixelRatio>1,i=c(i),a.delay>=0&&setTimeout(function(){s(!0)},a.delay),(a.delay<0||a.combined)&&(u.e=v(a.throttle,function(t){"resize"===t.type&&(w=B=-1),s(t.all)}),u.a=function(t){t=c(t),i.push.apply(i,t)},u.g=function(){return i=n(i).filter(function(){return!n(this).data(a.loadedName)})},u.f=function(t){for(var e=0;e
e.top&&-ne.left&&-n=0?w:w=n(t).width()}function h(){return B>=0?B:B=n(t).height()}function m(t){return t.tagName.toLowerCase()}function b(t,e){if(e){var r=t.split(",");t="";for(var a=0,n=r.length;at||!a.enableThrottle||u?l():n=setTimeout(l,t-f)}}function p(){--z,i.length||z||y("onFinishedAll")}function y(t,e,n){return!!(t=a[t])&&(t.apply(r,[].slice.call(arguments,1)),!0)}var z=0,w=-1,B=-1,L=!1,T="afterLoad",D="load",I="error",N="img",E="src",F="srcset",C="sizes",O="background-image";"event"===a.bind||o?f():n(t).on(D+"."+l,f)}function a(a,o){var u=this,l=n.extend({},u.config,o),f={},c=l.name+"-"+ ++i;return u.config=function(t,r){return r===e?l[t]:(l[t]=r,u)},u.addItems=function(t){return f.a&&f.a("string"===n.type(t)?n(t):t),u},u.getItems=function(){return f.g?f.g():{}},u.update=function(t){return f.e&&f.e({},!t),u},u.force=function(t){return f.f&&f.f("string"===n.type(t)?n(t):t),u},u.loadAll=function(){return f.e&&f.e({all:!0},!0),u},u.destroy=function(){return n(l.appendScroll).off("."+c,f.e),n(t).off("."+c),f={},e},r(u,l,a,f,c),l.chainable?a:u}var n=t.jQuery||t.Zepto,i=0,o=!1;n.fn.Lazy=n.fn.lazy=function(t){return new a(this,t)},n.Lazy=n.lazy=function(t,r,i){if(n.isFunction(r)&&(i=r,r=[]),n.isFunction(i)){t=n.isArray(t)?t:[t],r=n.isArray(r)?r:[r];for(var o=a.prototype.config,u=o._f||(o._f={}),l=0,f=t.length;l":"