diff options
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | tests/unit/button/button_core.js | 2 | ||||
-rw-r--r-- | tests/unit/datepicker/datepicker_options.js | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -50,8 +50,8 @@ cd jquery-ui # Install the node module dependencies npm install -# Run the build task -grunt build +# Run the concat task to concatenate files +grunt concat # There are many other tasks that can be run through Grunt. # For a list of all tasks: diff --git a/tests/unit/button/button_core.js b/tests/unit/button/button_core.js index 6df7da9db..41623e08d 100644 --- a/tests/unit/button/button_core.js +++ b/tests/unit/button/button_core.js @@ -174,7 +174,7 @@ asyncTest( "Resetting a button's form should refresh the visual state of the but setTimeout(function() { ok( checkbox.button( "widget" ).hasClass( "ui-state-active" )); start(); - }); + }, 1 ); }); asyncTest( "#6711 Checkbox/Radiobutton do not Show Focused State when using Keyboard Navigation", function() { diff --git a/tests/unit/datepicker/datepicker_options.js b/tests/unit/datepicker/datepicker_options.js index 25257e99f..b5dd4cac2 100644 --- a/tests/unit/datepicker/datepicker_options.js +++ b/tests/unit/datepicker/datepicker_options.js @@ -166,7 +166,7 @@ asyncTest( "invocation", function() { ok( button.length === 0, "Image button - button absent" ); image = inp.siblings( "img" ); ok( image.length === 1, "Image button - image present" ); - equal( image.attr( "src" ), "images/calendar.gif", "Image button - image source" ); + ok( /images\/calendar\.gif$/.test( image.attr( "src" ) ), "Image button - image source" ); equal( image.attr( "title" ), "Cal", "Image button - image text" ); TestHelpers.datepicker.onFocus( inp, function() { |