Sha256: e272c636d3082f82d594eca63bccd0e68c3a35e2e8bf87788c57c963ce2d4805
Contents?: true
Size: 1.89 KB
Versions: 8
Compression:
Stored size: 1.89 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1384093241.203735:@value"${I" class:ETI"ProcessedAsset; FI"logical_path; TI"locomotive/menu_toggler.js; FI" pathname; TI"f/Users/didier/Documents/LocomotiveCMS/engine/vendor/assets/javascripts/locomotive/menu_toggler.js; FI"content_type; TI"application/javascript; TI" mtime; TI"2012-11-11T19:01:36+01:00; TI"length; TiºI"digest; TI"%72affd1612a14780ec0cf72b770b1014; FI"source; TI"º/** * 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); }; ; TI"dependency_digest; TI"%0e1be9ced8fb87bcb086440052a84845; FI"required_paths; T[I"f/Users/didier/Documents/LocomotiveCMS/engine/vendor/assets/javascripts/locomotive/menu_toggler.js; FI"dependency_paths; T[{I" path; TI"f/Users/didier/Documents/LocomotiveCMS/engine/vendor/assets/javascripts/locomotive/menu_toggler.js; FI" mtime; TI"2012-11-11T19:01:36+01:00; TI"digest; TI"%5d8f5381959477b29446a8f4fdf20a62; FI" _version; TI"%ffd318ca8b794f42f5029101c2cf5d91; F
Version data entries
8 entries across 8 versions & 1 rubygems