diff options
author | Felix Nagel <info@felixnagel.com> | 2013-01-02 19:38:55 +0100 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2013-01-02 19:38:55 +0100 |
commit | 1ba02e9c5fc96bfcdd82e6a72369f54a30a47ecb (patch) | |
tree | e21226ccc9b62a6a4a03fd4b7c7d62b889bd6aa7 /tests/unit/dialog/dialog_core.js | |
parent | 2eb92232f3c0fa7b6643dce9197dae48f5b174ef (diff) | |
parent | 18b8ffd796ba557a7c939d67a1551b54402a7eb9 (diff) | |
download | jquery-ui-1ba02e9c5fc96bfcdd82e6a72369f54a30a47ecb.tar.gz jquery-ui-1ba02e9c5fc96bfcdd82e6a72369f54a30a47ecb.zip |
Merge branch 'master' into selectmenu
Diffstat (limited to 'tests/unit/dialog/dialog_core.js')
-rw-r--r-- | tests/unit/dialog/dialog_core.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/dialog/dialog_core.js b/tests/unit/dialog/dialog_core.js index 817f76ea9..b488bd112 100644 --- a/tests/unit/dialog/dialog_core.js +++ b/tests/unit/dialog/dialog_core.js @@ -10,10 +10,10 @@ test("title id", function() { expect(1); var titleId, - el = $('<div></div>').dialog(); + el = $("<div></div>").dialog(); - titleId = el.dialog('widget').find('.ui-dialog-title').attr('id'); - ok( /ui-id-\d+$/.test( titleId ), 'auto-numbered title id'); + titleId = el.dialog("widget").find(".ui-dialog-title").attr("id"); + ok( /ui-id-\d+$/.test( titleId ), "auto-numbered title id"); el.remove(); }); @@ -27,7 +27,7 @@ test( "ARIA", function() { equal( wrapper.attr( "aria-describedby" ), el.attr( "id" ), "aria-describedby added" ); el.remove(); - el = $( '<div><div aria-describedby="section2"><p id="section2">descriotion</p></div></div>' ).dialog(); + el = $("<div><div aria-describedby='section2'><p id='section2'>descriotion</p></div></div>").dialog(); strictEqual( el.dialog( "widget" ).attr( "aria-describedby" ), undefined, "no aria-describedby added, as already present in markup" ); el.remove(); }); |