Sha256: a926a9311cf41bce4fac4da09603ba11a739f0881337521d2f9c151f9854450c
Contents?: true
Size: 1.6 KB
Versions: 2
Compression:
Stored size: 1.6 KB
Contents
{:uriI"file:///Users/piotrek/Code/cms/plotline/app/assets/javascripts/plotline/behaviors/dropdown.js?type=application/javascript&pipeline=self&id=db42c986b7c62ef0e2a6832faed75fd110fbfe9522edc97ed5748b0987aa317e:ET:load_pathI"</Users/piotrek/Code/cms/plotline/app/assets/javascripts;T: filenameI"[/Users/piotrek/Code/cms/plotline/app/assets/javascripts/plotline/behaviors/dropdown.js;T: nameI" plotline/behaviors/dropdown;T:logical_pathI"(plotline/behaviors/dropdown.self.js;T:content_typeI"application/javascript;T:sourceI"Plotline.Behaviors.Dropdown = { initialize: function() { $(document).ready(function() { $('[data-behavior~=dropdown] .nav-item').click(function(e) { $(this).siblings("ul").toggleClass("visible"); e.preventDefault(); }); }); $(window).click(function(event) { if (!$('[data-behavior~=dropdown]').has(event.target).length) { $('[data-behavior~=dropdown] ul').removeClass("visible"); } }); } } Plotline.Behaviors.Dropdown.initialize(); ;T: metadata{:dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"ifile-digest:///Users/piotrek/Code/cms/plotline/app/assets/javascripts/plotline/behaviors/dropdown.js;TTF: requiredo;;} F:stubbedo;;} F: linkso;;} F:charsetI" utf-8;F:digest"%~E/Ed^b(Y(N,: am2A:lengthi:dependencies_digest"%R7ḍcǽK}RQL/6#5S:idI"Edb42c986b7c62ef0e2a6832faed75fd110fbfe9522edc97ed5748b0987aa317e;F: mtimel+V
Version data entries
2 entries across 2 versions & 1 rubygems