PageSourceSearch

http://www.lifeologia.com/wp-content/themes/skyfashion/common/js/jquery.imagesloaded.js

js lifeologia.com collected 2026-10-04 17:52:29 UTC 2,270 bytes, 58 lines download raw bytes

1var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
2if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
3{
4  let window = _____WB$wombat$assign$function_____("window");
5  let self = _____WB$wombat$assign$function_____("self");
6  let document = _____WB$wombat$assign$function_____("document");
7  let location = _____WB$wombat$assign$function_____("location");
8  let top = _____WB$wombat$assign$function_____("top");
9  let parent = _____WB$wombat$assign$function_____("parent");
10  let frames = _____WB$wombat$assign$function_____("frames");
11  let opener = _____WB$wombat$assign$function_____("opener");
12
13/*!
14 * jQuery imagesLoaded plugin v1.0.4
15 * http://github.com/desandro/imagesloaded
16 *
17 * MIT License. by Paul Irish et al.
18 */
19(function($, undefined) {
20  // $('#my-container').imagesLoaded(myFunction)
21  // or
22  // $('img').imagesLoaded(myFunction)
23  // execute a callback when all images have loaded.
24  // needed because .load() doesn't work on cached images
25  // callback function gets image collection as argument
26  //  `this` is the container
27  $.fn.imagesLoaded = function( callback ) {
28    var $this = this,
29        $images = $this.find('img').add( $this.filter('img') ),
30        len = $images.length,
31        blank = 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==';
32    function triggerCallback() {
33      callback.call( $this, $images );
34    }
35    function imgLoaded( event ) {
36      if ( --len <= 0 && event.target.src !== blank ){
37        setTimeout( triggerCallback );
38        $images.unbind( 'load error', imgLoaded );
39      }
40    }
41    if ( !len ) {
42      triggerCallback();
43    }
44    $images.bind( 'load error',  imgLoaded ).each( function() {
45      // cached images don't fire load sometimes, so we reset src.
46      if (this.complete || this.complete === undefined){
47        var src = this.src;
48        // webkit hack from http://groups.google.com/group/jquery-dev/browse_thread/thread/eee6ab7b2da50e1f
49        // data uri bypasses webkit log warning (thx doug jones)
50        this.src = blank;
51        this.src = src;
52      }
53    });
54    return $this;
55  };
56})(jQuery);
57
58}

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.