Sha256: cd511ccdb4dbb9710086e8d2348ee2c9993e8bcd665e83a106c52be9648ad8b7

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"'forever_style_guide/list-toggle.js;FI"
pathname;TI"i/Users/zschweitzer/git/forever-style-guide/app/assets/javascripts/forever_style_guide/list-toggle.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+²pªWI"length;Ti¤I"digest;TI"%4e993d98b2f48b21b89bb90964a859b9;FI"source;TI"¤$(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");
  }
});
;TI"required_assets_digest;TI"%be722df3537e7abf64dbdfa37f240c08;FI"
_version;TI"%2be930bcbfd3c3e00190e2193dda5c7c;F

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
forever_style_guide-3.0.15 test/dummy/tmp/cache/assets/development/sprockets/a073b29da00202d41130a601a80b0763
forever_style_guide-3.0.15 test/dummy/tmp/cache/assets/development/sprockets/afe21ae0433c18cab8821712e10adf2f