diff --git a/core/mappings.js b/core/mappings.js index bc0b65c2..92fa468d 100644 --- a/core/mappings.js +++ b/core/mappings.js @@ -329,6 +329,7 @@ mappings.cdn = { 'plyr/{version}/plyr.js': resources.plyrJS, 'plyr/{version}/plyr.min.js': resources.plyrJS, 'popper.js/{version}/umd/popper.min.js': resources.popperJS, + 'protonet-jquery.inview/{version}/jquery.inview.': resources.protonetJqueryInview, 'raven.js/{version}/raven.min.js': resources.ravenJS, 'raven.js/{version}/plugins/angular.min.js': resources.ravenPluginAngularJS, 'react/{version}/umd/react.production.min.js': resources.react, diff --git a/core/resources.js b/core/resources.js index ac864950..e4f87073 100644 --- a/core/resources.js +++ b/core/resources.js @@ -715,6 +715,11 @@ var resources = { 'path': 'resources/prop-types/{version}/prop-types.min.jsm', 'type': 'application/javascript' }, + // protonet-jquery.inview + 'protonetJqueryInview': { + 'path': 'resources/protonet-jquery.inview/{version}/jquery.inview.min.jsm', + 'type': 'application/javascript' + }, // Prototype 'prototypeJS': { 'path': 'resources/prototype/{version}/prototype.jsm', diff --git a/modules/internal/targets.js b/modules/internal/targets.js index d26d41cf..aec9b7f6 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -312,6 +312,8 @@ targets.setLastVersion = function (type, version) { return '2.5.4'; } else if (type.startsWith('/prop-types/15.')) { return '15.7.2'; + } else if (type.startsWith('/protonet-jquery.inview/1.')) { + return '1.1.2'; } else if (type.startsWith('/prototype/1.')) { return '1.7.3.0'; } else if (type.startsWith('/raven.js/3.')) { @@ -409,6 +411,7 @@ targets.determineResourceName = function (filename) { }; const ListOfFiles = { + 'jquery.inview.min.jsm': 'inview (Protonet)', 'modaal.min.jsm': 'Modaal (JS)', 'modaal.min.css': 'Modaal (CSS)', 'jquery.magnific-popup.min.jsm': 'magnific-popup.js', diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 9d7753b8..1231f62a 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -42,6 +42,7 @@
  • Added: Font Awesome (Fonts only) (#170)
  • Added: GSAP Bundle (#171)
  • Added: Modaal v0.4.4 (#172)
  • +
  • Added: inview (Protonet) v1.1.2 (#172)
  • diff --git a/resources/protonet-jquery.inview/1.1.2/jquery.inview.min.jsm b/resources/protonet-jquery.inview/1.1.2/jquery.inview.min.jsm new file mode 100644 index 00000000..5035164b --- /dev/null +++ b/resources/protonet-jquery.inview/1.1.2/jquery.inview.min.jsm @@ -0,0 +1 @@ +!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){function i(){var b,c,d={height:f.innerHeight,width:f.innerWidth};return d.height||(b=e.compatMode,(b||!a.support.boxModel)&&(c="CSS1Compat"===b?g:e.body,d={height:c.clientHeight,width:c.clientWidth})),d}function j(){return{top:f.pageYOffset||g.scrollTop||e.body.scrollTop,left:f.pageXOffset||g.scrollLeft||e.body.scrollLeft}}function k(){if(b.length){var e=0,f=a.map(b,function(a){var b=a.data.selector,c=a.$element;return b?c.find(b):c});for(c=c||i(),d=d||j();ed.top&&l.topd.left&&l.left