diff options
author | Felix Nagel <info@felixnagel.com> | 2013-01-02 20:28:22 +0100 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2013-01-02 20:28:22 +0100 |
commit | f244108d2876785d3045a4754bed80a9e5692b8f (patch) | |
tree | 3efee575ab62f10891325583cc7cdf9946e9877c | |
parent | c9602857ddeeb8dcbc208be91beb2dee5f08c5a0 (diff) | |
download | jquery-ui-f244108d2876785d3045a4754bed80a9e5692b8f.tar.gz jquery-ui-f244108d2876785d3045a4754bed80a9e5692b8f.zip |
Selectmenu tests: Convert single quotes to double quotes
-rw-r--r-- | tests/unit/selectmenu/selectmenu_core.js | 2 | ||||
-rw-r--r-- | tests/unit/selectmenu/selectmenu_methods.js | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/tests/unit/selectmenu/selectmenu_core.js b/tests/unit/selectmenu/selectmenu_core.js index 54e06cf40..f2cad56f3 100644 --- a/tests/unit/selectmenu/selectmenu_core.js +++ b/tests/unit/selectmenu/selectmenu_core.js @@ -4,7 +4,7 @@ module( "selectmenu: core" ); test("accessibility", function () { var links, - element = $('#speed').selectmenu(), + element = $("#speed").selectmenu(), button = element.selectmenu("widget"), menu = element.selectmenu("menuWidget"); diff --git a/tests/unit/selectmenu/selectmenu_methods.js b/tests/unit/selectmenu/selectmenu_methods.js index 68ff6110c..e8e62fa28 100644 --- a/tests/unit/selectmenu/selectmenu_methods.js +++ b/tests/unit/selectmenu/selectmenu_methods.js @@ -13,7 +13,7 @@ test( "destroy", function() { test( "open / close", function() { expect( 4 ); - var element = $('#speed').selectmenu(), + var element = $("#speed").selectmenu(), menu = element.selectmenu("menuWidget"); element.selectmenu("open"); @@ -29,7 +29,7 @@ test( "open / close", function() { test("enable / disable", function () { expect(10); - var element = $('#speed').selectmenu(), + var element = $("#speed").selectmenu(), button = element.selectmenu("widget"), menu = element.selectmenu("menuWidget"); @@ -52,12 +52,12 @@ test("enable / disable", function () { test("refresh - structure", function () { expect(3); - var element = $('#speed').selectmenu(), + var element = $("#speed").selectmenu(), menu = element.selectmenu("menuWidget").parent(); element.find("option").eq(2).remove(); element.find("option").eq(3).remove(); - element.append('<option value="added_option">Added option</option>'); + element.append("<option value=\"added_option\">Added option</option>"); element.find("option").first() .attr("value", "changed_value") .text("Changed value"); @@ -72,7 +72,7 @@ test("refresh - structure", function () { test("refresh - disabled select", function () { expect(4); - var element = $('#speed').selectmenu(), + var element = $("#speed").selectmenu(), button = element.selectmenu("widget"), menu = element.selectmenu("menuWidget"); @@ -90,7 +90,7 @@ test("refresh - disabled option", function () { expect(1); var disabledItem, - element = $('#speed').selectmenu(), + element = $("#speed").selectmenu(), menu = element.selectmenu("menuWidget").parent(); element.attr("disabled", "disabled"); @@ -106,7 +106,7 @@ test("refresh - disabled optgroup", function () { var i, item, - element = $('#files').selectmenu(), + element = $("#files").selectmenu(), menu = element.selectmenu("menuWidget").parent(), originalDisabledOptgroup = element.find("optgroup").first(), originalDisabledOptions = originalDisabledOptgroup.find("option"); @@ -128,7 +128,7 @@ test("refresh - disabled optgroup", function () { test( "widget", function() { expect( 4 ); - var element = $('#speed').selectmenu(), + var element = $("#speed").selectmenu(), widgetElement = element.selectmenu( "widget" ), menuWidgetElement = element.selectmenu( "menuWidget" ); |