mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-06-15 20:25:07 +02:00
18 lines
382 B
JavaScript
18 lines
382 B
JavaScript
|
|
var tf = new TableFilter('demo', {
|
|
base_path: '../dist/tablefilter/',
|
|
loader: true
|
|
});
|
|
tf.init();
|
|
|
|
module('Sanity checks');
|
|
test('Loader component', function() {
|
|
var loader = tf.Cpt.loader;
|
|
notEqual(loader, null, 'Loader instanciated');
|
|
notEqual(
|
|
document.getElementById(loader.prfxLoader+tf.id),
|
|
null,
|
|
'Loader DOM container'
|
|
);
|
|
});
|