Change behavior of the toggle to return a boolean again

This commit is contained in:
Keegan
2016-03-07 13:13:36 +11:00
parent de00ac1fd6
commit d63c6c832d
3 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -152,10 +152,10 @@ describe('manipulators', function() {
});
describe('checked', function() {
testSetGet('toggle', true, 1);
testSetGet('toggle', 1);
testSetGet('toggle', false, 0);
testSetGet('toggle', 0);
testSetGet('toggle', true);
testSetGet('toggle', 1, true);
testSetGet('toggle', false);
testSetGet('toggle', 0, false);
testDisable('toggle');
testEnable('toggle');
testShow('toggle');