Sha256: 914d2c47346f5578bca058f74aa76460074fe625bff6ff460dc41486d0b6fefe

Contents?: true

Size: 1.97 KB

Versions: 4

Compression:

Stored size: 1.97 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"jquery.cookie.js;FI"
pathname;TI"l/usr/local/rvm/gems/ruby-2.0.0-p481/gems/spree_backend-2.2.4/vendor/assets/javascripts/jquery.cookie.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+ƑTI"length;TiI"digest;TI"%9c618613c9f6f94687e1c6afe3d6f6e9;FI"source;TI"/**
 * jQuery Cookie plugin
 *
 * Copyright (c) 2010 Klaus Hartl (stilbuero.de)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 */

jQuery.cookie = function (key, value, options) {

    // key and at least value given, set cookie...
    if (arguments.length > 1 && String(value) !== "[object Object]") {
        options = jQuery.extend({}, options);

        if (value === null || value === undefined) {
            options.expires = -1;
        }

        if (typeof options.expires === 'number') {
            var days = options.expires, t = options.expires = new Date();
            t.setDate(t.getDate() + days);
        }

        value = String(value);

        return (document.cookie = [
            encodeURIComponent(key), '=',
            options.raw ? value : encodeURIComponent(value),
            options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
            options.path ? '; path=' + options.path : '',
            options.domain ? '; domain=' + options.domain : '',
            options.secure ? '; secure' : ''
        ].join(''));
    }

    // key and possibly options given, get cookie...
    options = value || {};
    var result, decode = options.raw ? function (s) { return s; } : decodeURIComponent;
    return (result = new RegExp('(?:^|; )' + encodeURIComponent(key) + '=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null;
};
;TI"required_assets_digest;TI"%5b1e62d3bdef8b2230dbd51c2b615dc2;FI"
_version;TI"%5ef14a844324cba3e114bd0123f88a5e;F

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
bcms_spree-0.0.2 test/dummy/tmp/cache/assets/development/sprockets/37bf8b0bd16eb730c90b1b295ffe2105
bcms_spree-0.0.2 test/dummy/tmp/cache/assets/development/sprockets/ab11e88c2548c668b12d710b472ecb07
bcms_spree-0.0.1 test/dummy/tmp/cache/assets/development/sprockets/37bf8b0bd16eb730c90b1b295ffe2105
bcms_spree-0.0.1 test/dummy/tmp/cache/assets/development/sprockets/ab11e88c2548c668b12d710b472ecb07