Sha256: 4c5a914e55787510e158d670a090bbcb994dc121a4cf87d7532ac8697ea21285
Contents?: true
Size: 1.93 KB
Versions: 6
Compression:
Stored size: 1.93 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1381142250.141642:@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.1.0/vendor/assets/javascripts/locomotive/menu_toggler.js; TI"content_type; FI"application/javascript; FI" mtime; FI"2013-10-07T10:55:41+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.1.0/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.1.0/vendor/assets/javascripts/locomotive/menu_toggler.js; TI" mtime; FI"2013-10-07T10:55:41+02:00; FI"digest; F"%5d8f5381959477b29446a8f4fdf20a62I" _version; F"%ffd318ca8b794f42f5029101c2cf5d91
Version data entries
6 entries across 6 versions & 1 rubygems