Sha256: cbcaa99154a8c9cde61d6202d2546564f15c44688e575eadab43869c880a0b28

Contents?: true

Size: 1.93 KB

Versions: 2

Compression:

Stored size: 1.93 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1381401964.888014:@value"O{I"
class:EFI"ProcessedAsset;FI"logical_path;FI"locomotive/menu_toggler.js;TI"
pathname;FI"{/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.2.3/vendor/assets/javascripts/locomotive/menu_toggler.js;TI"content_type;FI"application/javascript;FI"
mtime;FI"2013-10-10T12:39:18+02:00;FI"length;FiºI"digest;F"%72affd1612a14780ec0cf72b770b1014I"source;FI"º/**
 * Version 1.0.1
 * Init and deploy childs on menu (admin)
 * Benjamin Athlan - Bewcultures
 * Andrew Bennett - Delorum
 * Didier Lafforgue - NoCoffee
 */

$.fn.toggleMe = function(settings) {

  settings = $.extend({}, settings);

  var toggle = function(event) {
    var toggler     = $(this);
    var children    = toggler.parent().find('> ul.folder');
    var openClass   = toggler.data('open')
    var closedClass = toggler.data('closed')

    children.each(function() {
      var child = $(this);

      if (child.is(':visible')) {
        child.slideUp('fast', function() {
          toggler.removeClass(openClass).addClass(closedClass)
          $.cookie(child.attr('id'), 'none');
        });
      } else {
        child.slideDown('fast', function() {
          toggler.removeClass(closedClass).addClass(openClass)
          $.cookie(child.attr('id'), 'block');
        });
      }
    });
  };

  return $(this).bind('click', toggle);

};
;FI"dependency_digest;F"%0e1be9ced8fb87bcb086440052a84845I"required_paths;F[I"{/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.2.3/vendor/assets/javascripts/locomotive/menu_toggler.js;TI"dependency_paths;F[{I"	path;FI"{/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.2.3/vendor/assets/javascripts/locomotive/menu_toggler.js;TI"
mtime;FI"2013-10-10T12:39:18+02:00;FI"digest;F"%5d8f5381959477b29446a8f4fdf20a62I"
_version;F"%ffd318ca8b794f42f5029101c2cf5d91

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
locomotivecms-search-0.2.5 spec/dummy/tmp/cache/assets/D3D/CC0/sprockets%2F019de5cbebd970bbb3374171126989ae
locomotivecms-search-0.2.4 spec/dummy/tmp/cache/assets/D3D/CC0/sprockets%2F019de5cbebd970bbb3374171126989ae