mirror of
https://gitlab.com/JKANetwork/CheckServer.git
synced 2026-02-27 15:33:48 +01:00
Start again
This commit is contained in:
3
vendors/switchery/meteor/export.js
vendored
Normal file
3
vendors/switchery/meteor/export.js
vendored
Normal file
@@ -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;
|
||||
10
vendors/switchery/meteor/tests.js
vendored
Normal file
10
vendors/switchery/meteor/tests.js
vendored
Normal file
@@ -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