Skip to content

Commit 6d28b80

Browse files
Demos: loader widget demo - coding standards.
1 parent 20e8cf0 commit 6d28b80

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

demos/widgets/loader/index.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@
1212
<script src="../../_assets/js/"></script>
1313
<script src="../../../js/"></script>
1414
<script>
15-
$(document).on("click", ".show-page-loading-msg", function() {
15+
$( document ).on( "click", ".show-page-loading-msg", function() {
1616
var $this = $( this ),
17-
theme = $this.jqmData("theme") || $.mobile.loader.prototype.options.theme,
18-
msgText = $this.jqmData("msgtext") || $.mobile.loader.prototype.options.text,
19-
textVisible = $this.jqmData("textvisible") || $.mobile.loader.prototype.options.textVisible,
20-
textonly = !!$this.jqmData("textonly");
21-
html = $this.jqmData("html") || "";
22-
$.mobile.loading( 'show', {
17+
theme = $this.jqmData( "theme" ) || $.mobile.loader.prototype.options.theme,
18+
msgText = $this.jqmData( "msgtext" ) || $.mobile.loader.prototype.options.text,
19+
textVisible = $this.jqmData( "textvisible" ) || $.mobile.loader.prototype.options.textVisible,
20+
textonly = !!$this.jqmData( "textonly" );
21+
html = $this.jqmData( "html" ) || "";
22+
$.mobile.loading( "show", {
2323
text: msgText,
2424
textVisible: textVisible,
2525
theme: theme,
2626
textonly: textonly,
2727
html: html
2828
});
2929
})
30-
.on("click", ".hide-page-loading-msg", function() {
31-
$.mobile.loading( 'hide' );
30+
.on( "click", ".hide-page-loading-msg", function() {
31+
$.mobile.loading( "hide" );
3232
});
3333
</script>
3434
</head>

0 commit comments

Comments
 (0)