mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-05 21:24:45 +00:00
quote consistency
This commit is contained in:
parent
6ebaf991a8
commit
c41c65a1cf
1 changed files with 5 additions and 5 deletions
|
|
@ -17,12 +17,12 @@
|
|||
var fooDialog;
|
||||
ok(/&ui-state=dialog/.test(location.hash), "ui-state=dialog =~ location.hash", "dialog open");
|
||||
|
||||
fooDialog = $('#foo-dialog');
|
||||
fooDialog = $("#foo-dialog");
|
||||
// Assert dialog theme inheritance (issue 1375):
|
||||
ok(fooDialog.hasClass('ui-body-b'), 'Expected explicit theme ui-body-b');
|
||||
ok(fooDialog.find( ":jqmData(role=header)" ).hasClass('ui-bar-a'), 'Expected header to inherit from $.mobile.page.prototype.options.headerTheme');
|
||||
ok(fooDialog.find( ":jqmData(role=content)" ).hasClass('ui-body-d'), 'Expect content to inherit from $.mobile.page.prototype.options.contentTheme');
|
||||
ok(fooDialog.find( ":jqmData(role=footer)" ).hasClass('ui-bar-a'), 'Expected footer to inherit from $.mobile.page.prototype.options.footerTheme');
|
||||
ok(fooDialog.hasClass("ui-body-b"), "Expected explicit theme ui-body-b");
|
||||
ok(fooDialog.find( ":jqmData(role=header)" ).hasClass("ui-bar-a"), "Expected header to inherit from $.mobile.page.prototype.options.headerTheme");
|
||||
ok(fooDialog.find( ":jqmData(role=content)" ).hasClass("ui-body-d"), "Expect content to inherit from $.mobile.page.prototype.options.contentTheme");
|
||||
ok(fooDialog.find( ":jqmData(role=footer)" ).hasClass("ui-bar-a"), "Expected footer to inherit from $.mobile.page.prototype.options.footerTheme");
|
||||
|
||||
// close the dialog
|
||||
$(".ui-dialog").dialog("close");
|
||||
|
|
|
|||
Loading…
Reference in a new issue