Sha256: 630b1f6708cf7833cb81d2c15863e3367c558383a102a59acee63d03ef84c555

Contents?: true

Size: 1.68 KB

Versions: 2

Compression:

Stored size: 1.68 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"fshop/toggle_unhide.js;FI"
pathname;TI"Q/home/nofxx/projects/fshop/app/assets/javascripts/fshop/toggle_unhide.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+þsRI"length;Ti¬I"digest;TI"%c49005efa266dd8ee86d7eee6a83b40f;FI"source;TI"¬(function() {
  var doc;

  doc = $(document);

  doc.on('click', '[data-toggle=unhide]', function(e) {
    var $el, $target;
    e.preventDefault();
    $el = $(this);
    if ($(e.target).closest('.ignore-unhide').length) {
      return;
    }
    $target = $($el.data('target'));
    $target.each(function(i, el) {
      var $_el;
      $_el = $(el);
      if ($_el.hasClass('hide')) {
        $_el.removeClass('hide');
        $_el.hide();
      }
      return $_el.slideToggle({
        duration: 500
      });
    });
    return $el.find('.arrow-toggle').each(function(i, el) {
      var $_el, add, iName, rm;
      $_el = $(el);
      iName = 'glyphicon-chevron-';
      if ($_el.hasClass(iName + 'up')) {
        rm = iName + 'up';
        add = iName + 'down';
      } else {
        rm = iName + 'down';
        add = iName + 'up';
      }
      $_el.removeClass(rm);
      return $_el.addClass(add);
    });
  });

}).call(this);
;TI"dependency_digest;TI"%029d46b4f4e38e6720f89fa5a8004342;FI"required_paths;T[I"Q/home/nofxx/projects/fshop/app/assets/javascripts/fshop/toggle_unhide.coffee;FI"dependency_paths;T[{I"	path;TI"Q/home/nofxx/projects/fshop/app/assets/javascripts/fshop/toggle_unhide.coffee;FI"
mtime;TI"2013-10-31T23:21:02-02:00;TI"digest;TI"%beb5d5a9447ac5bf1af59792aff7cd64;FI"
_version;TI"%ac1cd7cf9811f9938e2b8937c60a24e6;F

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
geopolitical-0.8.3 spec/dummy/tmp/cache/assets/test/sprockets/ae9db6465d683af41afd3155bf52fbeb
geopolitical-0.8.3 spec/dummy/tmp/cache/assets/test/sprockets/e1a3159adc4ec4f206057edd3dffb125