Sha256: 9e4d9963dfbe37cd406b6578031cafc98a9ae95d5dda9f04263f19ce7cfad82d

Contents?: true

Size: 1.39 KB

Versions: 12

Compression:

Stored size: 1.39 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1372330389.1271622:@value"*{I"
class:EFI"BundledAsset;FI"logical_path;FI"sextant/application.js;TI"
pathname;FI"›/Users/manuelevidaurrea/Documents/work/agiltec/workspace/ruby/rails/cadenero/vendor/bundle/gems/sextant-0.2.4/app/assets/javascripts/sextant/application.js;TI"content_type;FI"application/javascript;FI"
mtime;FI"2013-06-27T05:51:44-05:00;FI"length;FiI"digest;F"%d1881a4d4acf135540e668b1e5ccf8c3I"source;FI"function each(elems, func) {
  if (!elems instanceof Array) { elems = [elems]; }
  for (var i = elems.length; i--; ) {
    func(elems[i]);
  }
}

function setValOn(elems, val) {
  each(elems, function(elem) {
    elem.innerHTML = val;
  });
}

function onClick(elems, func) {
  each(elems, function(elem) {
    elem.onclick = func;
  });
}

// Enables functionality to toggle between `_path` and `_url` helper suffixes
function setupRouteToggleHelperLinks() {
  var toggleLinks = document.querySelectorAll('#route_table [data-route-helper]');
  onClick(toggleLinks, function(){
    var helperTxt   = this.getAttribute("data-route-helper");
    var helperElems = document.querySelectorAll('[data-route-name] span.helper');
    setValOn(helperElems, helperTxt);
  });
}
;
;FI"required_assets_digest;F"%a26cd9601919e01b068ea4344ec67f5aI"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cadenero-0.0.2.b10 spec/dummy/tmp/cache/assets/D0B/E90/sprockets%2F2c56f5dc65ded8014ad1226c5c985124
cadenero-0.0.2.b8 spec/dummy/tmp/cache/assets/D0B/E90/sprockets%2F2c56f5dc65ded8014ad1226c5c985124
cadenero-0.0.2.b7 spec/dummy/tmp/cache/assets/D0B/E90/sprockets%2F2c56f5dc65ded8014ad1226c5c985124
cadenero-0.0.2.b6 spec/dummy/tmp/cache/assets/D0B/E90/sprockets%2F2c56f5dc65ded8014ad1226c5c985124
cadenero-0.0.2.b5 spec/dummy/tmp/cache/assets/D0B/E90/sprockets%2F2c56f5dc65ded8014ad1226c5c985124
cadenero-0.0.2.b4 spec/dummy/tmp/cache/assets/D0B/E90/sprockets%2F2c56f5dc65ded8014ad1226c5c985124
cadenero-0.0.2.b3 spec/dummy/tmp/cache/assets/D0B/E90/sprockets%2F2c56f5dc65ded8014ad1226c5c985124
cadenero-0.0.2.b2 spec/dummy/tmp/cache/assets/D0B/E90/sprockets%2F2c56f5dc65ded8014ad1226c5c985124
cadenero-0.0.2.b1 spec/dummy/tmp/cache/assets/D0B/E90/sprockets%2F2c56f5dc65ded8014ad1226c5c985124
cadenero-0.0.2.a3 spec/dummy/tmp/cache/assets/D0B/E90/sprockets%2F2c56f5dc65ded8014ad1226c5c985124
cadenero-0.0.2.a2 spec/dummy/tmp/cache/assets/D0B/E90/sprockets%2F2c56f5dc65ded8014ad1226c5c985124
cadenero-0.0.2.a1 spec/dummy/tmp/cache/assets/D0B/E90/sprockets%2F2c56f5dc65ded8014ad1226c5c985124