Sha256: ac2761f1c07de308d3dd3c121a62af8e11f3e3865ff918cf06eae3dfddb5efa6

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1427730559.138347:@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/D42/CC0/sprockets%2Fc193ff3495a3beb1c539e1bd3425d759