Sha256: 3d5084087c841fb53bb4b2f6a25693dbedd9d5017bb7156e9b098715381fd9bd

Contents?: true

Size: 763 Bytes

Versions: 1

Compression:

Stored size: 763 Bytes

Contents

+function(n){"use strict";function i(i){return this.each(function(){var o=n(this),e=n.extend({},t.DEFAULTS,i),d=o.find("[data-toggle='dropdown']");d.hasClass("dropdown-enabled")||new t(this,e)})}var t=function(n,i){this.init(n,i)};t.DEFAULTS={trigger:"hover"},t.prototype.init=function(i,t){var o=n(i),e=t.trigger=o.find("a[data-toggle]").data("trigger");o.find("a[data-toggle]").addClass("dropdown-enabled"),"hover"==e?(o.bind("mouseover",function(){n(this).find(".dropdown").show()}),o.bind("mouseout",function(){n(this).find(".dropdown").hide()})):o.bind("click",function(){n(this).find(".dropdown").toggle()})};var o=n.fn.simplemenu;n.fn.simplemenu=i,n.fn.simplemenu.Constructor=t,n.fn.simplemenu.noConflict=function(){return n.fn.simplemenu=o,this}}(jQuery);

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
toolbox_esten-1.0.0 assets/javascripts/simpleMenu/simpleMenu.min.js