]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Run JSHint test in unit tests.
authorScott González <scott.gonzalez@gmail.com>
Thu, 6 Dec 2012 16:56:56 +0000 (11:56 -0500)
committerScott González <scott.gonzalez@gmail.com>
Thu, 6 Dec 2012 16:56:56 +0000 (11:56 -0500)
tests/unit/datepicker/datepicker_core.js
tests/unit/datepicker/datepicker_options.js

index 3c88059d11f1611a1a881b0b71de41c4b4245b9b..67dd29eacabc1220195796e795bbc7c6a9fd6970 100644 (file)
@@ -6,6 +6,8 @@
 
 module("datepicker: core");
 
+TestHelpers.testJshint( "datepicker" );
+
 test("initialization - Reinitialization after body had been emptied.", function() {
        expect( 1 );
        var bodyContent = $('body').children(), inp = $("#inp");
index 4b09face5871654bd33dfc70fafe51cdff8b1ed5..06fde26e682daefbce3f621085a2c26580592ca6 100644 (file)
@@ -64,7 +64,8 @@ test( "disabled", function() {
        inp = TestHelpers.datepicker.init('#inp', { disabled: true });
        ok(inp.datepicker('isDisabled'), 'Initially marked as disabled');
        ok(inp[0].disabled, 'Field initially disabled');
-})
+});
+
 test('change', function() {
        expect( 12 );
        var inp = TestHelpers.datepicker.init('#inp'),