1
0
Fork 0
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:
koalyptus 2017-11-30 14:00:10 +11:00
parent eb62703e50
commit 9b54c10bc6
2 changed files with 6 additions and 8 deletions

View file

@ -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

View file

@ -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');
});