mirror of
https://github.com/seigler/dash-website
synced 2025-07-28 15:36:09 +00:00
[Chore] Eslint
This commit is contained in:
parent
373cc64526
commit
81023e5d2b
1 changed files with 3 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
|
|
||||||
;(function($, undefined) {
|
;(function($) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
function parseCssProperty(str) {
|
function parseCssProperty(str) {
|
||||||
|
@ -72,6 +72,7 @@
|
||||||
breakpointCurrent = parseInt(window.mq.currentBreakpoint.value, 10);
|
breakpointCurrent = parseInt(window.mq.currentBreakpoint.value, 10);
|
||||||
|
|
||||||
if (typeof options !== 'object') {
|
if (typeof options !== 'object') {
|
||||||
|
|
||||||
// No or wrong arguments passed
|
// No or wrong arguments passed
|
||||||
throw 'Illegal argument of type "' + typeof options + '", expected "object"';
|
throw 'Illegal argument of type "' + typeof options + '", expected "object"';
|
||||||
} else if (typeof options.to !== 'undefined' && typeof options.from !== 'undefined') {
|
} else if (typeof options.to !== 'undefined' && typeof options.from !== 'undefined') {
|
||||||
|
@ -108,4 +109,4 @@
|
||||||
currentBreakpoint: currentBreakpoint
|
currentBreakpoint: currentBreakpoint
|
||||||
};
|
};
|
||||||
|
|
||||||
})(jQuery);
|
}(jQuery));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue