Sha256: cf61c1785122b4248471019c0ba8ec78e001642b317ef476d9c1d1d3d2c3692e

Contents?: true

Size: 934 Bytes

Versions: 4

Compression:

Stored size: 934 Bytes

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"ext_index_nav.js;FI"
pathname;TI"2$root/app/assets/javascripts/ext_index_nav.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+nóSI"length;TiýI"digest;TI"%8535fdfcb208582cf369f3d37f1e6e1b;FI"source;TI"ýfunction set_per_page(sel) {
    url = updateQueryStringParameter($(location).attr('href'), "per_page", $(sel).val())
    window.location = updateQueryStringParameter(url, "page", "1")
}

function updateQueryStringParameter(uri, key, value) {
  var re = new RegExp("([?&])" + key + "=.*?(&|$)", "i");
  var separator = uri.indexOf('?') !== -1 ? "&" : "?";
  if (uri.match(re)) {
    return uri.replace(re, '$1' + key + "=" + value + '$2');
  }
  else {
    return uri + separator + key + "=" + value;
  }
}
;
;TI"required_assets_digest;TI"%879e5db70d04f6bf9651a7a22dc513ca;FI"
_version;TI"%361c512b9086418778df946c0d278f91;F

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
controller_scaffolding-1.2.0 test/dummy/tmp/cache/assets/development/sprockets/8c0b04415ee487129c0d2bc8b098fb8c
controller_scaffolding-1.2.0 test/dummy/tmp/cache/assets/development/sprockets/dd3286d35fd64e2653a6197e1a119fe3
controller_scaffolding-1.1.1 test/dummy/tmp/cache/assets/development/sprockets/8c0b04415ee487129c0d2bc8b098fb8c
controller_scaffolding-1.1.1 test/dummy/tmp/cache/assets/development/sprockets/dd3286d35fd64e2653a6197e1a119fe3