Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bootstrap-submenu

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap-submenu - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

4

dist/js/bootstrap-submenu.js
/*!
* Bootstrap-submenu v1.1.2 (http://vsn4ik.github.io/bootstrap-submenu)
* Bootstrap-submenu v1.1.3 (http://vsn4ik.github.io/bootstrap-submenu)
* Copyright 2014 vsn4ik

@@ -25,3 +25,3 @@ * Licensed under MIT (https://github.com/vsn4ik/bootstrap-submenu/blob/master/LICENSE)

this.$element.on('click.bs.dropdown', this.click.bind(this));
this.$menu.keydown(this.keydown.bind(this));
this.$element.keydown(this.keydown.bind(this));
},

@@ -28,0 +28,0 @@ click: function(event) {

/*!
* Bootstrap-submenu v1.1.2 (http://vsn4ik.github.io/bootstrap-submenu)
* Bootstrap-submenu v1.1.3 (http://vsn4ik.github.io/bootstrap-submenu)
* Copyright 2014 vsn4ik

@@ -7,2 +7,2 @@ * Licensed under MIT (https://github.com/vsn4ik/bootstrap-submenu/blob/master/LICENSE)

"use strict";if("undefined"==typeof jQuery)throw new Error("Bootstrap-submenu requires jQuery");!function(a){function b(b){this.$element=a(b),this.$menu=this.$element.parent(),this.$submenus=this.$menu.parent().find(".dropdown-submenu"),this.init()}b.prototype={init:function(){this.$element.on("click.bs.dropdown",this.click.bind(this)),this.$menu.keydown(this.keydown.bind(this))},click:function(a){a.stopPropagation(),this.toggle()},toggle:function(){var a=this.$menu.hasClass("open");this.$submenus.removeClass("open"),a||this.$menu.addClass("open")},keydown:function(a){32==a.keyCode&&a.preventDefault(),/^(13|32)$/.test(a.keyCode)&&this.toggle()}},a.fn.submenupicker=function(){return this.each(function(){var c=a(this),d=c.data("bs.submenu");d||(new b(this),c.data("bs.submenu",!0))})}}(jQuery);
"use strict";if("undefined"==typeof jQuery)throw new Error("Bootstrap-submenu requires jQuery");!function(a){function b(b){this.$element=a(b),this.$menu=this.$element.parent(),this.$submenus=this.$menu.parent().find(".dropdown-submenu"),this.init()}b.prototype={init:function(){this.$element.on("click.bs.dropdown",this.click.bind(this)),this.$element.keydown(this.keydown.bind(this))},click:function(a){a.stopPropagation(),this.toggle()},toggle:function(){var a=this.$menu.hasClass("open");this.$submenus.removeClass("open"),a||this.$menu.addClass("open")},keydown:function(a){32==a.keyCode&&a.preventDefault(),/^(13|32)$/.test(a.keyCode)&&this.toggle()}},a.fn.submenupicker=function(){return this.each(function(){var c=a(this),d=c.data("bs.submenu");d||(new b(this),c.data("bs.submenu",!0))})}}(jQuery);

@@ -19,3 +19,3 @@ 'use strict';

this.$element.on('click.bs.dropdown', this.click.bind(this));
this.$menu.keydown(this.keydown.bind(this));
this.$element.keydown(this.keydown.bind(this));
},

@@ -22,0 +22,0 @@ click: function(event) {

{
"name": "bootstrap-submenu",
"version": "1.1.2",
"version": "1.1.3",
"description": "Bootstrap Sub-Menus",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc