mirror of
https://github.com/seigler/dash-website
synced 2025-07-27 07:16:10 +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';
|
||||
|
||||
function parseCssProperty(str) {
|
||||
|
@ -72,6 +72,7 @@
|
|||
breakpointCurrent = parseInt(window.mq.currentBreakpoint.value, 10);
|
||||
|
||||
if (typeof options !== 'object') {
|
||||
|
||||
// No or wrong arguments passed
|
||||
throw 'Illegal argument of type "' + typeof options + '", expected "object"';
|
||||
} else if (typeof options.to !== 'undefined' && typeof options.from !== 'undefined') {
|
||||
|
@ -108,4 +109,4 @@
|
|||
currentBreakpoint: currentBreakpoint
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
}(jQuery));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue