Sha256: 1da5ff1fc7de8905f973d5acf80e59ecc964addcfecbc297fb9c8a4ec2e97370
Contents?: true
Size: 2 KB
Versions: 1
Compression:
Stored size: 2 KB
Contents
{I" class:ETI"ProcessedAsset; FI"logical_path; TI" jquery.waitforimages.min.js; FI" pathname; TI"_/Users/cabeer/Projects/sul/spotlight/vendor/assets/javascripts/jquery.waitforimages.min.js; FI"content_type; TI"application/javascript; TI" mtime; Tl+FØFTI"length; Ti×I"digest; TI"%e17eadfb11de17eb9c3323db89e04258; FI"source; TI"×/*! waitForImages jQuery Plugin 2013-07-20 */ !function(a){var b="waitForImages";a.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage","cursor"]},a.expr[":"].uncached=function(b){if(!a(b).is('img[src!=""]'))return!1;var c=new Image;return c.src=b.src,!c.complete},a.fn.waitForImages=function(c,d,e){var f=0,g=0;if(a.isPlainObject(arguments[0])&&(e=arguments[0].waitForAll,d=arguments[0].each,c=arguments[0].finished),c=c||a.noop,d=d||a.noop,e=!!e,!a.isFunction(c)||!a.isFunction(d))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var h=a(this),i=[],j=a.waitForImages.hasImageProperties||[],k=/url\(\s*(['"]?)(.*?)\1\s*\)/g;e?h.find("*").addBack().each(function(){var b=a(this);b.is("img:uncached")&&i.push({src:b.attr("src"),element:b[0]}),a.each(j,function(a,c){var d,e=b.css(c);if(!e)return!0;for(;d=k.exec(e);)i.push({src:d[2],element:b[0]})})}):h.find("img:uncached").each(function(){i.push({src:this.src,element:this})}),f=i.length,g=0,0===f&&c.call(h[0]),a.each(i,function(e,i){var j=new Image;a(j).on("load."+b+" error."+b,function(a){return g++,d.call(i.element,g,f,"load"==a.type),g==f?(c.call(h[0]),!1):void 0}),j.src=i.src})})}}(jQuery); ; TI"dependency_digest; TI"%e25a1ee63b70812c1008814bb29749f0; FI"required_paths; T[I"_/Users/cabeer/Projects/sul/spotlight/vendor/assets/javascripts/jquery.waitforimages.min.js; FI"dependency_paths; T[{I" path; TI"_/Users/cabeer/Projects/sul/spotlight/vendor/assets/javascripts/jquery.waitforimages.min.js; F@I"2014-10-21T15:03:50-07:00; T@I"%ac15dbebea0e5cc1836b17308dce035b; FI" _version; TI"%069e88c06b889877799890854d7f4c40; F
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blacklight-spotlight-0.2.0 | spec/internal/tmp/cache/assets/development/sprockets/3d493c85ea5995f29687c8711bd64adc |