Skip to content

Commit

Permalink
fix no-multi-assign manually
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Dec 5, 2022
1 parent 5ba7660 commit 49da878
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ module.exports = {
'no-continue': 'off',
radix: 'off',
'prefer-spread': 'off',
'no-multi-assign': 'off',
'no-new-func': 'off', // fixed with separate PR https://github.com/fomantic/Fomantic-UI/pull/2587
'no-bitwise': 'off',
'array-callback-return': 'off',
Expand Down
3 changes: 2 additions & 1 deletion src/definitions/behaviors/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
? self
: new Function('return this')();

$.api = $.fn.api = function (parameters) {
$.fn.api = function (parameters) {
var
// use window context if none specified
$allModules = isFunction(this)
Expand Down Expand Up @@ -1066,6 +1066,7 @@
? returnedValue
: this;
};
$.api = $.fn.api;

$.api.settings = {

Expand Down
3 changes: 2 additions & 1 deletion src/definitions/behaviors/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -1756,7 +1756,8 @@
// do nothing
} else if (range.indexOf('..') == -1) {
if (regExp.test(range)) {
min = max = range - 0;
min = range - 0;
max = min;
}
} else {
parts = range.split('..', 2);
Expand Down
3 changes: 2 additions & 1 deletion src/definitions/globals/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
return typeof obj === 'function' && typeof obj.nodeType !== 'number';
}

$.site = $.fn.site = function (parameters) {
$.fn.site = function (parameters) {
var
time = new Date().getTime(),
performance = [],
Expand Down Expand Up @@ -411,6 +411,7 @@
? returnedValue
: this;
};
$.site = $.fn.site;

$.site.settings = {

Expand Down
3 changes: 2 additions & 1 deletion src/definitions/modules/flyout.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
? self
: new Function('return this')();

$.flyout = $.fn.flyout = function (parameters) {
$.fn.flyout = function (parameters) {
var
$allModules = $(this),
$window = $(window),
Expand Down Expand Up @@ -1309,6 +1309,7 @@
? returnedValue
: this;
};
$.flyout = $.fn.flyout;

$.fn.flyout.settings = {

Expand Down
3 changes: 2 additions & 1 deletion src/definitions/modules/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
? self
: new Function('return this')();

$.modal = $.fn.modal = function (parameters) {
$.fn.modal = function (parameters) {
var
$allModules = $(this),
$window = $(window),
Expand Down Expand Up @@ -1314,6 +1314,7 @@
? returnedValue
: this;
};
$.modal = $.fn.modal;

$.fn.modal.settings = {

Expand Down
3 changes: 2 additions & 1 deletion src/definitions/modules/toast.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
? self
: new Function('return this')();

$.toast = $.fn.toast = function (parameters) {
$.fn.toast = function (parameters) {
var
$allModules = $(this),
moduleSelector = $allModules.selector || '',
Expand Down Expand Up @@ -775,6 +775,7 @@
? returnedValue
: this;
};
$.toast = $.fn.toast;

$.fn.toast.settings = {

Expand Down

0 comments on commit 49da878

Please sign in to comment.