1(function ($) { 2 3 var methods = { 4 _download: function (options) { 5 var triggerDelay = (options && options.delay) || 100; 6 var cleaningDelay = (options && options.cleaningDelay) || 1000; 7 8 this.each(function (index, item) { 9 methods._createIFrame(item, index * triggerDelay, cleaningDelay); 10 }); 11 return this; 12 }, 13 14 _createIFrame: function (item, triggerDelay, cleaningDelay) { 15 setTimeout(function () { 16 var frame = $('<iframe style="display: none;" class="multi-download-frame"></iframe>'); 17 frame.attr('src', $(item).attr('href') || $(item).attr('src')); 18 $(item).after(frame); 19 setTimeout(function () { frame.remove(); }, cleaningDelay); 20 }, triggerDelay); 21 } 22 }; 23 24 $.fn.multiDownload = function(options) { 25 return methods._download.apply(this, arguments); 26 }; 27 28})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.