Sha256: 7ed92817e65763a0f3c4ff35f79e60943e3874396ce4f967fbe093d00a000adc

Contents?: true

Size: 1.99 KB

Versions: 2

Compression:

Stored size: 1.99 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"style_guide/identifiers.js;FI"
pathname;TI"q/Users/nmcclay/.rvm/gems/ruby-2.1.4/gems/style-guide-1.1.1/app/assets/javascripts/style_guide/identifiers.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+y®čUI"length;Ti€I"digest;TI"%4e0c5dee2a28302ed4a26130c45ffda9;FI"source;TI"€;(function(){
  var $identifiers = document.querySelectorAll(".style-guide-partial-identifiers code");
  var highlightPattern = new RegExp('(\\s|^)style-guide-identifier-highlight(\\s|$)');

  function addHighlight(elements) {
    for (var i = 0, element; element = elements[i]; i++) {
      element.className += " style-guide-identifier-highlight";
    }
  }

  function removeHighlight(elements) {
    for (var i = 0, element; element = elements[i]; i++) {
      element.className = element.className.replace(highlightPattern, ' ');
    }
  }

  function identifierHighlighter(event) {
    var selector = event.target.innerHTML;
    var $selected = document.querySelectorAll(selector);
    addHighlight($selected);
  }

  function identifierHighlightRemover(event) {
    var $highlighted = document.querySelectorAll(".style-guide-identifier-highlight");
    removeHighlight($highlighted);
  }

  function highlightOnHover(elements) {
    for (var i = 0, element; element = elements[i]; i++) {
      element.onmouseover = identifierHighlighter;
      element.onmouseout = identifierHighlightRemover;
    }
  }

  highlightOnHover($identifiers);
})();
;TI"dependency_digest;TI"%4d6bebfa9cc347b88ff21147f82723ca;FI"required_paths;T[I"q/Users/nmcclay/.rvm/gems/ruby-2.1.4/gems/style-guide-1.1.1/app/assets/javascripts/style_guide/identifiers.js;FI"dependency_paths;T[{I"	path;TI"q/Users/nmcclay/.rvm/gems/ruby-2.1.4/gems/style-guide-1.1.1/app/assets/javascripts/style_guide/identifiers.js;FI"
mtime;TI"2015-09-03T16:32:57-04:00;TI"digest;TI"%f2595de9c4e36369038d2e63d83996a7;FI"
_version;TI"%2be930bcbfd3c3e00190e2193dda5c7c;F

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forever_style_guide-1.2.4 test/dummy/tmp/cache/assets/development/sprockets/bb1c679159aa4453f9e318014ba805f3
forever_style_guide-1.2.3 test/dummy/tmp/cache/assets/development/sprockets/bb1c679159aa4453f9e318014ba805f3