Sha256: ed735a1c43c8514740381a20188a485562758bfc0de78d7f25ffa2241bcb816e

Contents?: true

Size: 1.83 KB

Versions: 30

Compression:

Stored size: 1.83 KB

Contents

{:uriI"file:///Users/zschweitzer/git/forever-style-guide/app/assets/javascripts/forever_style_guide/list-toggle.js?type=application/javascript&pipeline=self&id=a4c7cfcbc8823db9a48725c507bbfd70f2844db079029893d16dbdd6093a0839:ET:load_pathI"F/Users/zschweitzer/git/forever-style-guide/app/assets/javascripts;T:
filenameI"i/Users/zschweitzer/git/forever-style-guide/app/assets/javascripts/forever_style_guide/list-toggle.js;T:	nameI"$forever_style_guide/list-toggle;T:logical_pathI",forever_style_guide/list-toggle.self.js;T:content_typeI"application/javascript;T:sourceI"$(function () {
  $(".list-group-toggle-trigger").click(function (e) {
    e.preventDefault();
    $(this).next('.list-group-item-child').toggleClass("is_open");
    $("i", this).toggleClass("fa-plus fa-minus");
  })
});

$(function () {
  var activeListItems = $('.list-group-link-is_active');

  if ($(activeListItems).length) {
    $(activeListItems).append('<i class="fa fa-times"></i>');
    $(activeListItems).parents('.list-group-item-child').addClass('is_open');
    $(activeListItems).parents('.list-group-item').addClass('is_active');
    $(activeListItems).parents('.list-group-item').find('.list-group-toggle-trigger .fa').toggleClass("fa-plus fa-minus");
  }
});
;T:
metadata{:dependencieso:Set:
@hash{
I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"wfile-digest:///Users/zschweitzer/git/forever-style-guide/app/assets/javascripts/forever_style_guide/list-toggle.js;TT:
requiredo;;{:stubbedo;;{:
linkso;;{:charsetI"
utf-8;F:digest"%QLAXۖ*8tFO
I
0FdV:lengthi:dependencies_digest"%]T3u1>F!KL;Ŭ@$?:idI"Ea4c7cfcbc8823db9a48725c507bbfd70f2844db079029893d16dbdd6093a0839;F:
mtimel+*FV

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
forever_style_guide-3.0.5 test/dummy/tmp/cache/assets/sprockets/v3.0/E2AmsIP3B_GoeKNU-RVc2oJSndQtKYt-PgGOsy_BPGE.cache
forever_style_guide-3.0.4 test/dummy/tmp/cache/assets/sprockets/v3.0/E2AmsIP3B_GoeKNU-RVc2oJSndQtKYt-PgGOsy_BPGE.cache
forever_style_guide-3.0.3 test/dummy/tmp/cache/assets/sprockets/v3.0/E2AmsIP3B_GoeKNU-RVc2oJSndQtKYt-PgGOsy_BPGE.cache
forever_style_guide-3.0.2 test/dummy/tmp/cache/assets/sprockets/v3.0/E2AmsIP3B_GoeKNU-RVc2oJSndQtKYt-PgGOsy_BPGE.cache
forever_style_guide-3.0.1 test/dummy/tmp/cache/assets/sprockets/v3.0/E2AmsIP3B_GoeKNU-RVc2oJSndQtKYt-PgGOsy_BPGE.cache
forever_style_guide-3.0.0 test/dummy/tmp/cache/assets/sprockets/v3.0/E2AmsIP3B_GoeKNU-RVc2oJSndQtKYt-PgGOsy_BPGE.cache
forever_style_guide-2.0.3 test/dummy/tmp/cache/assets/sprockets/v3.0/E2AmsIP3B_GoeKNU-RVc2oJSndQtKYt-PgGOsy_BPGE.cache
forever_style_guide-2.0.2 test/dummy/tmp/cache/assets/sprockets/v3.0/E2AmsIP3B_GoeKNU-RVc2oJSndQtKYt-PgGOsy_BPGE.cache
forever_style_guide-2.0.1 test/dummy/tmp/cache/assets/sprockets/v3.0/E2AmsIP3B_GoeKNU-RVc2oJSndQtKYt-PgGOsy_BPGE.cache
forever_style_guide-2.0.0 test/dummy/tmp/cache/assets/sprockets/v3.0/E2AmsIP3B_GoeKNU-RVc2oJSndQtKYt-PgGOsy_BPGE.cache