Comparing version 8.5.16 to 8.5.17
{ | ||
"name": "frdh/mmenu.js", | ||
"version": "8.5.13", | ||
"version": "8.5.17", | ||
"authors": [ | ||
@@ -29,2 +29,2 @@ { | ||
] | ||
} | ||
} |
/* | ||
JS tasks. | ||
*) The "module" file is transpiled from the specified "custom input" dir. | ||
JS tasks. | ||
*) The "module" file is transpiled from the specified "custom input" dir. | ||
*/ | ||
@@ -64,3 +64,3 @@ | ||
dir.input + '/**/*.d.ts', // Include all typings. | ||
input || dir.input + '/**/*.ts', // Include the needed ts files. | ||
input || (dir.input + '/**/*.ts'), // Include the needed ts files. | ||
]) | ||
@@ -67,0 +67,0 @@ .pipe( |
{ | ||
"name": "mmenu-js", | ||
"version": "8.5.16", | ||
"version": "8.5.17", | ||
"main": "dist/mmenu.js", | ||
@@ -5,0 +5,0 @@ "module": "src/mmenu.js", |
@@ -1,2 +0,2 @@ | ||
const options : mmOptionsOffcanvas = { | ||
const options: mmOptionsOffcanvas = { | ||
blockUI: true, | ||
@@ -13,7 +13,7 @@ moveBackground: true | ||
*/ | ||
export function extendShorthandOptions( | ||
options : mmOptionsOffcanvas | ||
) : mmOptionsOffcanvas { | ||
export function extendShorthandOptions( | ||
options: mmOptionsOffcanvas | ||
): mmOptionsOffcanvas { | ||
if ( typeof options != 'object' ) { | ||
if (typeof options != 'object') { | ||
options = {}; | ||
@@ -24,2 +24,1 @@ } | ||
}; | ||
@@ -94,8 +94,8 @@ /*! | ||
// jQuery plugin | ||
(function($) { | ||
(function ($) { | ||
if ($) { | ||
$.fn.mmenu = function(options, configs) { | ||
$.fn.mmenu = function (options, configs) { | ||
var $result = $(); | ||
this.each(function(e, element) { | ||
this.each(function (e, element) { | ||
// Don't proceed if the element already is a mmenu. | ||
@@ -102,0 +102,0 @@ if (element.mmApi) { |
{ | ||
"include": ["src/**/*"], | ||
"include": [ | ||
"src/**/*" | ||
], | ||
"compilerOptions": { | ||
"target": "es5", | ||
"moduleResolution": "node", | ||
"resolveJsonModule": true | ||
"resolveJsonModule": true, | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
735430
364
13079