diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-08-24 08:59:54 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-09-11 08:29:09 -0400 |
commit | f8c2bbb0c80096214807f01b2b9f0d5440b7ada8 (patch) | |
tree | 360fdbada9a9de9bc5c035d3b89e5280e917c3c8 /tests/unit/dialog/deprecated.js | |
parent | 8336ba7b694fbf85ec893ce79343a9f510a1e0b0 (diff) | |
download | jquery-ui-f8c2bbb0c80096214807f01b2b9f0d5440b7ada8.tar.gz jquery-ui-f8c2bbb0c80096214807f01b2b9f0d5440b7ada8.zip |
Dialog: Style updates
Ref #14246
Diffstat (limited to 'tests/unit/dialog/deprecated.js')
-rw-r--r-- | tests/unit/dialog/deprecated.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/dialog/deprecated.js b/tests/unit/dialog/deprecated.js index 2d75cad0d..1a6794338 100644 --- a/tests/unit/dialog/deprecated.js +++ b/tests/unit/dialog/deprecated.js @@ -13,7 +13,7 @@ test( "dialogClass", function( assert ) { assert.lacksClasses( widget, "foo", "dialogClass not specified. class not added" ); element.remove(); - element = $( "<div>" ).dialog({ dialogClass: "foo" }); + element = $( "<div>" ).dialog( { dialogClass: "foo" } ); widget = element.dialog( "widget" ); assert.hasClasses( widget, "foo", "dialogClass in init, foo class added" ); element.dialog( "option", "dialogClass", "foobar" ); @@ -21,10 +21,10 @@ test( "dialogClass", function( assert ) { assert.hasClasses( widget, "foobar", "dialogClass changed, new one was added" ); element.remove(); - element = $( "<div>" ).dialog({ dialogClass: "foo bar" }); + element = $( "<div>" ).dialog( { dialogClass: "foo bar" } ); widget = element.dialog( "widget" ); assert.hasClasses( widget, "foo bar", "dialogClass in init, two classes." ); element.remove(); -}); +} ); } ); |