mirror of
https://gitlab.com/JKANetwork/CheckServer.git
synced 2026-06-16 21:26:19 +02:00
Start again
This commit is contained in:
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
/*global Switchery:true*/ // Meteor creates a file-scope global for exporting. This comment prevents a potential JSHint warning.
|
||||
Switchery = window.Switchery;
|
||||
delete window.Switchery;
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
Tinytest.add('Switchery integration', function (test) {
|
||||
|
||||
var checkbox = document.createElement('input');
|
||||
checkbox.className = 'js-switch';
|
||||
var switchy = new Switchery(checkbox);
|
||||
|
||||
test.instanceOf(switchy, Switchery, 'instantiation OK');
|
||||
});
|
||||
Reference in New Issue
Block a user