Sha256: ec9598b31a54d6ffc89ca22b5753731ba2644ec738f14a30279549df3de80694

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1427730559.138744:@value"&{I"
class:ETI"BundledAsset;FI"logical_path;TI"/outdatedbrowser/require_outdatedbrowser.js;TI"
pathname;TI"k/Users/lu/code/outdatedbrowser_rails/app/assets/javascripts/outdatedbrowser/require_outdatedbrowser.js;FI"content_type;TI"application/javascript;TI"
mtime;TI"2015-03-30T16:45:09+01:00;TI"length;TiI"digest;TI"%a8453ee90109544c5b31e8a657be50cc;FI"source;TI"
//event listener: DOM ready
function addLoadEvent(func) {
    var oldonload = window.onload;
    if (typeof window.onload != 'function') {
        window.onload = func;
    } else {
        window.onload = function() {
            oldonload();
            func();
        }
    }
}

//call plugin function after DOM ready
addLoadEvent(
    outdatedBrowser({
        bgColor: '#f25648',
        color: '#ffffff',
        lowerThan: 'transform',
        languagePath: "<%= asset_path('outdatedbrowser/lang/en.html') %>"
    })
);
;TI"required_assets_digest;TI"%28ff661029b95a73c33d625552b448ce;FI"
_version;TI"%29ed33acb378e0c0b27fe5f96549550a;F

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
outdatedbrowser_rails-1.1.0 spec/dummy/tmp/cache/assets/C0B/6C0/sprockets%2F32ba372100048e769a8961c142010d29