Sha256: 92a84e91509612e55235a03e7edc630e9567f008dd57ca2d30da268873490d85

Contents?: true

Size: 1.86 KB

Versions: 4

Compression:

Stored size: 1.86 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1364984302.965033:@value"{I"
class:EFI"ProcessedAsset;FI"logical_path;FI"locomotive/menu_toggler.js;TI"
pathname;FI"b/Users/papipo/Projects/locomotive/engine/vendor/assets/javascripts/locomotive/menu_toggler.js;TI"content_type;FI"application/javascript;FI"
mtime;FI"2013-01-18T09:21:51+01:00;FI"length;FiºI"digest;F"%31cc0210a2c3e998d1993e81472a4d29I"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"%ebac7fc322ad994e1a0fd835d8a4c044I"required_paths;F[I"b/Users/papipo/Projects/locomotive/engine/vendor/assets/javascripts/locomotive/menu_toggler.js;TI"dependency_paths;F[{I"	path;FI"b/Users/papipo/Projects/locomotive/engine/vendor/assets/javascripts/locomotive/menu_toggler.js;TI"
mtime;FI"2013-01-18T09:21:51+01:00;FI"digest;F"%7faff8831a3fbd4d301f4a83aa9a059aI"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
locomotivecms-search-0.0.5 spec/dummy/tmp/cache/assets/C5B/470/sprockets%2F856a35b6f970d03732504d830f948f09
locomotivecms-search-0.0.4 spec/dummy/tmp/cache/assets/C5B/470/sprockets%2F856a35b6f970d03732504d830f948f09
locomotivecms-search-0.0.3 spec/dummy/tmp/cache/assets/C5B/470/sprockets%2F856a35b6f970d03732504d830f948f09
locomotivecms-search-0.0.2 spec/dummy/tmp/cache/assets/C5B/470/sprockets%2F856a35b6f970d03732504d830f948f09