Comparing version 8.0.5 to 8.0.6
{ | ||
"name" : "mmenu.js", | ||
"version" : "8.0.5", | ||
"version" : "8.0.6", | ||
"authors" : "Fred Heusschen <info@frebsite.nl>", | ||
@@ -5,0 +5,0 @@ "license" : "CC-BY-NC-4.0", |
@@ -1,1 +0,1 @@ | ||
export default '8.0.5'; | ||
export default '8.0.6'; |
export default function () { | ||
this.conf.classNames.selected = 'current-menu-item'; | ||
var wpadminbar = document.getElementById('wpadminbar'); | ||
wpadminbar.style.position = 'fixed'; | ||
wpadminbar.classList.add('mm-slideout'); | ||
if (wpadminbar) { | ||
wpadminbar.style.position = 'fixed'; | ||
wpadminbar.classList.add('mm-slideout'); | ||
} | ||
} | ||
; |
{ | ||
"name": "mmenu-js", | ||
"version": "8.0.5", | ||
"version": "8.0.6", | ||
"main": "dist/mmenu.js", | ||
@@ -5,0 +5,0 @@ "module": "src/mmenu.js", |
@@ -23,5 +23,2 @@ mmenu.js | ||
### Browser support | ||
The mmenu javascript plugin uses ES6, meaning IE11 and earlier are not supported. | ||
If you need support for IE11, use the legacy (jQuery) version: version 7.3.0. | ||
As of version 8, the mmenu.js plugin only supports [ECMAScript 6 compliant browsers](https://kangax.github.io/compat-table/es6/).<br /> | ||
@@ -28,0 +25,0 @@ For Internet Explorer 10 and 11, you''ll need [some polyfills](https://polyfill.io/v3/polyfill.min.js?features=default%2CElement.prototype.matches%2CElement.prototype.prepend%2CElement.prototype.closest).<br /> |
@@ -1,1 +0,1 @@ | ||
export default '8.0.5'; | ||
export default '8.0.6'; |
import Mmenu from '../../core/oncanvas/mmenu.oncanvas'; | ||
export default function( | ||
this : Mmenu | ||
) { | ||
this.conf.classNames.selected = 'current-menu-item'; | ||
export default function(this: Mmenu) { | ||
this.conf.classNames.selected = 'current-menu-item'; | ||
var wpadminbar = document.getElementById( 'wpadminbar' ); | ||
wpadminbar.style.position = 'fixed'; | ||
wpadminbar.classList.add( 'mm-slideout' ); | ||
}; | ||
var wpadminbar = document.getElementById('wpadminbar'); | ||
if (wpadminbar) { | ||
wpadminbar.style.position = 'fixed'; | ||
wpadminbar.classList.add('mm-slideout'); | ||
} | ||
} |
Sorry, the diff of this file is too big to display
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
12139
689144
32