Sha256: 6f37464f7ce920291d3127ca9f86b69f4d9bf599601aaefa0d70181af98e481b

Contents?: true

Size: 1.74 KB

Versions: 12

Compression:

Stored size: 1.74 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1620470165.418879:@value"Ž{I"
class:ETI"BundledAsset;FI"logical_path;TI"cssrelpreload.js;FI"
pathname;TI"R/Users/izik/www/sparse/izi_lightup/vendor/assets/javascripts/cssrelpreload.js;FI"content_type;TI"application/javascript;TI"
mtime;TI"2020-10-06T16:09:42+03:00;TI"length;Ti¬I"digest;TI"%c2c1b884177ac91d890f1b14e82f1de7;FI"source;TI"¬/*! CSS rel=preload polyfill. Depends on loadCSS function. [c]2016 @scottjehl, Filament Group, Inc. Licensed MIT  */

(function( w ){
  // rel=preload support test
  if( !w.loadCSS ){
    return;
  }
  var rp = loadCSS.relpreload = {};
  rp.support = function(){
    try {
      return w.document.createElement( "link" ).relList.supports( "preload" );
    } catch (e) {
      return false;
    }
  };

  // loop preload links and fetch using loadCSS
  rp.poly = function(){
    var links = w.document.getElementsByTagName( "link" );
    for( var i = 0; i < links.length; i++ ){
      var link = links[ i ];
      if( link.rel === "preload" && link.getAttribute( "as" ) === "style" ){
        w.loadCSS( link.href, link );
        link.rel = null;
      }
    }
  };

  // if link[rel=preload] is not supported, we must fetch the CSS manually using loadCSS
  if( !rp.support() ){
    rp.poly();
    var run = w.setInterval( rp.poly, 300 );
    if( w.addEventListener ){
      w.addEventListener( "load", function(){
        w.clearInterval( run );
      } );
    }
    if( w.attachEvent ){
      w.attachEvent( "onload", function(){
        w.clearInterval( run );
      } )
    }
  }
}( this ));
;TI"required_assets_digest;TI"%6a866fb23844fb5e034fee964e570471;FI"
_version;TI"%6cedd7ea766d3b90466ce5175ac9198b;F

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
izi_lightup-1.0.31 spec/dummy/tmp/cache/assets/D2C/370/sprockets%2F383101940e0c58abcce9baaf3a617290
izi_lightup-1.0.29 spec/dummy/tmp/cache/assets/D2C/370/sprockets%2F383101940e0c58abcce9baaf3a617290
izi_lightup-1.0.28 spec/dummy/tmp/cache/assets/D2C/370/sprockets%2F383101940e0c58abcce9baaf3a617290
izi_lightup-1.0.27 spec/dummy/tmp/cache/assets/D2C/370/sprockets%2F383101940e0c58abcce9baaf3a617290
izi_lightup-1.0.26 spec/dummy/tmp/cache/assets/D2C/370/sprockets%2F383101940e0c58abcce9baaf3a617290
izi_lightup-1.0.25 spec/dummy/tmp/cache/assets/D2C/370/sprockets%2F383101940e0c58abcce9baaf3a617290
izi_lightup-1.0.24 spec/dummy/tmp/cache/assets/D2C/370/sprockets%2F383101940e0c58abcce9baaf3a617290
izi_lightup-1.0.23 spec/dummy/tmp/cache/assets/D2C/370/sprockets%2F383101940e0c58abcce9baaf3a617290
izi_lightup-1.0.22 spec/dummy/tmp/cache/assets/D2C/370/sprockets%2F383101940e0c58abcce9baaf3a617290
izi_lightup-1.0.21 spec/dummy/tmp/cache/assets/D2C/370/sprockets%2F383101940e0c58abcce9baaf3a617290
izi_lightup-1.0.20 spec/dummy/tmp/cache/assets/D2C/370/sprockets%2F383101940e0c58abcce9baaf3a617290
izi_lightup-1.0.19 spec/dummy/tmp/cache/assets/D2C/370/sprockets%2F383101940e0c58abcce9baaf3a617290