quote consistency

This commit is contained in:
John Bender 2011-08-10 17:07:34 -07:00
parent 6ebaf991a8
commit c41c65a1cf

View file

@ -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");