Skip to content

Commit

Permalink
fix(chore): removed selector api as removed in jquery 3
Browse files Browse the repository at this point in the history
Removed the selectror api usage, because it is always undefined as jquery 3 removed it and was depreacted since jquery 1.7
  • Loading branch information
lubber-de authored Feb 19, 2023
1 parent 2321380 commit dc85362
Show file tree
Hide file tree
Showing 24 changed files with 0 additions and 106 deletions.
4 changes: 0 additions & 4 deletions src/definitions/behaviors/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
$allModules = isFunction(this)
? $(window)
: $(this),
moduleSelector = $allModules.selector || '',
time = Date.now(),
performance = [],

Expand Down Expand Up @@ -984,9 +983,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if (performance.length > 0) {
console.groupCollapsed(title);
if (console.table) {
Expand Down
4 changes: 0 additions & 4 deletions src/definitions/behaviors/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
$.fn.form = function (parameters) {
var
$allModules = $(this),
moduleSelector = $allModules.selector || '',

time = Date.now(),
performance = [],
Expand Down Expand Up @@ -1473,9 +1472,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if ($allModules.length > 1) {
title += ' (' + $allModules.length + ')';
}
Expand Down
5 changes: 0 additions & 5 deletions src/definitions/behaviors/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
var
$allModules = $(this),

moduleSelector = $allModules.selector || '',

time = Date.now(),
performance = [],

Expand Down Expand Up @@ -497,9 +495,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if (performance.length > 0) {
console.groupCollapsed(title);
if (console.table) {
Expand Down
4 changes: 0 additions & 4 deletions src/definitions/behaviors/visibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
$.fn.visibility = function (parameters) {
var
$allModules = $(this),
moduleSelector = $allModules.selector || '',

time = Date.now(),
performance = [],
Expand Down Expand Up @@ -1102,9 +1101,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if (performance.length > 0) {
console.groupCollapsed(title);
if (console.table) {
Expand Down
4 changes: 0 additions & 4 deletions src/definitions/modules/accordion.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@

eventNamespace = '.' + namespace,
moduleNamespace = 'module-' + namespace,
moduleSelector = $allModules.selector || '',

$module = $(this),
$title = $module.find(selector.title),
Expand Down Expand Up @@ -452,9 +451,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if (performance.length > 0) {
console.groupCollapsed(title);
if (console.table) {
Expand Down
5 changes: 0 additions & 5 deletions src/definitions/modules/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
$allModules = $(this),
$document = $(document),

moduleSelector = $allModules.selector || '',

time = Date.now(),
performance = [],

Expand Down Expand Up @@ -1494,9 +1492,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if (performance.length > 0) {
console.groupCollapsed(title);
if (console.table) {
Expand Down
4 changes: 0 additions & 4 deletions src/definitions/modules/checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
$.fn.checkbox = function (parameters) {
var
$allModules = $(this),
moduleSelector = $allModules.selector || '',

time = Date.now(),
performance = [],
Expand Down Expand Up @@ -737,9 +736,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if (performance.length > 0) {
console.groupCollapsed(title);
if (console.table) {
Expand Down
4 changes: 0 additions & 4 deletions src/definitions/modules/dimmer.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@

eventNamespace = '.' + namespace,
moduleNamespace = 'module-' + namespace,
moduleSelector = $allModules.selector || '',

clickEvent = 'ontouchstart' in document.documentElement
? 'touchstart'
Expand Down Expand Up @@ -542,9 +541,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if ($allModules.length > 1) {
title += ' (' + $allModules.length + ')';
}
Expand Down
5 changes: 0 additions & 5 deletions src/definitions/modules/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
$allModules = $(this),
$document = $(document),

moduleSelector = $allModules.selector || '',

time = Date.now(),
performance = [],

Expand Down Expand Up @@ -3877,9 +3875,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if (performance.length > 0) {
console.groupCollapsed(title);
if (console.table) {
Expand Down
5 changes: 0 additions & 5 deletions src/definitions/modules/embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
var
$allModules = $(this),

moduleSelector = $allModules.selector || '',

time = Date.now(),
performance = [],

Expand Down Expand Up @@ -455,9 +453,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if ($allModules.length > 1) {
title += ' (' + $allModules.length + ')';
}
Expand Down
5 changes: 0 additions & 5 deletions src/definitions/modules/flyout.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
$head = $('head'),
$body = $('body'),

moduleSelector = $allModules.selector || '',

time = Date.now(),
performance = [],

Expand Down Expand Up @@ -1256,9 +1254,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if (performance.length > 0) {
console.groupCollapsed(title);
if (console.table) {
Expand Down
5 changes: 0 additions & 5 deletions src/definitions/modules/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
$document = $(document),
$body = $('body'),

moduleSelector = $allModules.selector || '',

time = Date.now(),
performance = [],

Expand Down Expand Up @@ -1283,9 +1281,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if (performance.length > 0) {
console.groupCollapsed(title);
if (console.table) {
Expand Down
4 changes: 0 additions & 4 deletions src/definitions/modules/nag.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
var
$allModules = $(this),
$body = $('body'),
moduleSelector = $allModules.selector || '',

time = Date.now(),
performance = [],
Expand Down Expand Up @@ -391,9 +390,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if (performance.length > 0) {
console.groupCollapsed(title);
if (console.table) {
Expand Down
5 changes: 0 additions & 5 deletions src/definitions/modules/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
$window = $(window),
$body = $('body'),

moduleSelector = $allModules.selector || '',

clickEvent = 'ontouchstart' in document.documentElement
? 'touchstart'
: 'click',
Expand Down Expand Up @@ -1257,9 +1255,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if (performance.length > 0) {
console.groupCollapsed(title);
if (console.table) {
Expand Down
5 changes: 0 additions & 5 deletions src/definitions/modules/progress.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
var
$allModules = $(this),

moduleSelector = $allModules.selector || '',

time = Date.now(),
performance = [],

Expand Down Expand Up @@ -806,9 +804,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if (performance.length > 0) {
console.groupCollapsed(title);
if (console.table) {
Expand Down
4 changes: 0 additions & 4 deletions src/definitions/modules/rating.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
$.fn.rating = function (parameters) {
var
$allModules = $(this),
moduleSelector = $allModules.selector || '',

time = Date.now(),
performance = [],
Expand Down Expand Up @@ -382,9 +381,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if ($allModules.length > 1) {
title += ' (' + $allModules.length + ')';
}
Expand Down
4 changes: 0 additions & 4 deletions src/definitions/modules/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
$.fn.search = function (parameters) {
var
$allModules = $(this),
moduleSelector = $allModules.selector || '',

time = Date.now(),
performance = [],
Expand Down Expand Up @@ -1184,9 +1183,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if ($allModules.length > 1) {
title += ' (' + $allModules.length + ')';
}
Expand Down
4 changes: 0 additions & 4 deletions src/definitions/modules/shape.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@

$allModules.each(function () {
var
moduleSelector = $allModules.selector || '',
settings = $.isPlainObject(parameters)
? $.extend(true, {}, $.fn.shape.settings, parameters)
: $.extend({}, $.fn.shape.settings),
Expand Down Expand Up @@ -637,9 +636,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if ($allModules.length > 1) {
title += ' (' + $allModules.length + ')';
}
Expand Down
5 changes: 0 additions & 5 deletions src/definitions/modules/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
$html = $('html'),
$head = $('head'),

moduleSelector = $allModules.selector || '',

time = Date.now(),
performance = [],

Expand Down Expand Up @@ -913,9 +911,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if (performance.length > 0) {
console.groupCollapsed(title);
if (console.table) {
Expand Down
5 changes: 0 additions & 5 deletions src/definitions/modules/slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
$document = $(document),
$window = $(window),

moduleSelector = $allModules.selector || '',

time = Date.now(),
performance = [],

Expand Down Expand Up @@ -1191,9 +1189,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if (performance.length > 0) {
console.groupCollapsed(title);
if (console.table) {
Expand Down
4 changes: 0 additions & 4 deletions src/definitions/modules/sticky.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
var
$allModules = $(this),
$document = $(document),
moduleSelector = $allModules.selector || '',

time = Date.now(),
performance = [],
Expand Down Expand Up @@ -760,9 +759,6 @@
totalTime += data['Execution Time'];
});
title += ' ' + totalTime + 'ms';
if (moduleSelector) {
title += ' \'' + moduleSelector + '\'';
}
if (performance.length > 0) {
console.groupCollapsed(title);
if (console.table) {
Expand Down
Loading

0 comments on commit dc85362

Please sign in to comment.