first commit, after modifying client section

This commit is contained in:
Kwesi Banson
2023-02-22 07:48:50 +00:00
commit ad0dd6a6e1
1880 changed files with 538494 additions and 0 deletions

View 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;

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