mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-05-01 06:12:59 +02:00
tidy-up code
This commit is contained in:
parent
eb62703e50
commit
9b54c10bc6
|
@ -917,9 +917,7 @@ export class TableFilter {
|
|||
// import main stylesheet
|
||||
this.import(this.stylesheetId, this.getStylesheetPath(), null, 'link');
|
||||
|
||||
// this.nbCells = this.getCellsNb(this.refRow);
|
||||
let Mod = this.Mod;
|
||||
// let n = this.singleSearchFlt ? 1 : this.nbCells;
|
||||
let inpclass;
|
||||
|
||||
//loads theme
|
||||
|
|
|
@ -10,9 +10,9 @@ test('Only headers with no rows', function() {
|
|||
deepEqual(tf.refRow, 2, 'Reference row index');
|
||||
});
|
||||
|
||||
// module('Tear-down');
|
||||
// test('TableFilter removed', function() {
|
||||
// tf.clearFilters();
|
||||
// tf.destroy();
|
||||
// deepEqual(tf.isInitialized(), false, 'Filters removed');
|
||||
// });
|
||||
module('Tear-down');
|
||||
test('TableFilter removed', function() {
|
||||
tf.clearFilters();
|
||||
tf.destroy();
|
||||
deepEqual(tf.isInitialized(), false, 'Filters removed');
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue