Comparing version 8.0.3 to 8.0.4
{ | ||
"name" : "mmenu.js", | ||
"version" : "8.0.3", | ||
"version" : "8.0.4", | ||
"authors" : "Fred Heusschen <info@frebsite.nl>", | ||
@@ -5,0 +5,0 @@ "license" : "CC-BY-NC-4.0", |
@@ -32,4 +32,4 @@ import Mmenu from './../oncanvas/mmenu.oncanvas'; | ||
this.node.menu.classList.add('mm-menu_offcanvas'); | ||
this.node.menu.parentElement.classList.remove('mm-wrapper'); | ||
// Append to the <body> | ||
this.node[this.conf.clone ? 'orig' : 'menu'].parentElement.classList.remove('mm-wrapper'); | ||
// Prepend to the <body> | ||
document | ||
@@ -36,0 +36,0 @@ .querySelector(configs.menu.insertSelector)[configs.menu.insertMethod](this.node.menu); |
@@ -0,1 +1,2 @@ | ||
import version from '../../_version'; | ||
import options from './_options'; | ||
@@ -357,2 +358,4 @@ import configs from './_configs'; | ||
this.trigger('initMenu:before'); | ||
// Add class to the wrapper. | ||
this.node.menu.parentElement.classList.add('mm-wrapper'); | ||
// Add an ID to the menu if it does not yet have one. | ||
@@ -386,4 +389,2 @@ this.node.menu.id = this.node.menu.id || uniqueId(); | ||
this.node.menu.classList.add('mm-menu'); | ||
// Add class to the wrapper. | ||
this.node.menu.parentElement.classList.add('mm-wrapper'); | ||
// Invoke "after" hook. | ||
@@ -773,3 +774,3 @@ this.trigger('initMenu:after'); | ||
/** Plugin version. */ | ||
Mmenu.version = '8.0.2'; | ||
Mmenu.version = version; | ||
/** Default options for menus. */ | ||
@@ -776,0 +777,0 @@ Mmenu.options = options; |
{ | ||
"name": "mmenu-js", | ||
"version": "8.0.3", | ||
"version": "8.0.4", | ||
"main": "dist/mmenu.js", | ||
@@ -5,0 +5,0 @@ "author": "Fred Heusschen <info@frebsite.nl>", |
@@ -42,5 +42,7 @@ import Mmenu from './../oncanvas/mmenu.oncanvas'; | ||
this.node.menu.classList.add('mm-menu_offcanvas'); | ||
this.node.menu.parentElement.classList.remove('mm-wrapper'); | ||
this.node[ | ||
this.conf.clone ? 'orig' : 'menu' | ||
].parentElement.classList.remove('mm-wrapper'); | ||
// Append to the <body> | ||
// Prepend to the <body> | ||
document | ||
@@ -47,0 +49,0 @@ .querySelector(configs.menu.insertSelector) |
@@ -0,1 +1,2 @@ | ||
import version from '../../_version'; | ||
import options from './_options'; | ||
@@ -17,3 +18,3 @@ import configs from './_configs'; | ||
/** Plugin version. */ | ||
static version: string = '8.0.2'; | ||
static version: string = version; | ||
@@ -527,2 +528,5 @@ /** Default options for menus. */ | ||
// Add class to the wrapper. | ||
this.node.menu.parentElement.classList.add('mm-wrapper'); | ||
// Add an ID to the menu if it does not yet have one. | ||
@@ -567,5 +571,2 @@ this.node.menu.id = this.node.menu.id || uniqueId(); | ||
// Add class to the wrapper. | ||
this.node.menu.parentElement.classList.add('mm-wrapper'); | ||
// Invoke "after" hook. | ||
@@ -572,0 +573,0 @@ this.trigger('initMenu:after'); |
/*! | ||
* mmenu.js v8.0.3 | ||
* mmenu.js v8.0.4 | ||
* mmenujs.com | ||
@@ -4,0 +4,0 @@ * |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
689287
352
12142