8000 Button: some demo code formatting · phreaknerd/jquery-ui@f29befb · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

8000
Appearance settings

Commit f29befb

Browse files
committed
Button: some demo code formatting
1 parent 34a71ea commit f29befb

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

demos/button/splitbutton.html

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,23 @@
1111
<link type="text/css" href="../demos.css" rel="stylesheet" />
1212
<script type="text/javascript">
1313
$(function() {
14-
$("#rerun").button().click(function() {
15-
alert("Running the last action");
16-
})
14+
$("#rerun")
15+
.button()
16+
.click( function() {
17+
alert( "Running the last action" );
18+
})
1719
.next()
18-
.button({
19-
text: false,
20-
icons: {
21-
primary: "ui-icon-triangle-1-s"
22-
}
23-
})
24-
.click(function() {
25-
alert("Could display a menu to select an action");
26-
})
20+
.button( {
21+
text: false,
22+
icons: {
23+
primary: "ui-icon-triangle-1-s"
24+
}
25+
})
26+
.click( function() {
27+
alert( "Could display a menu to select an action" );
28+
})
2729
.parent()
28-
.buttonset();
30+
.buttonset();
2931
});
3032
</script>
3133
<style>

0 commit comments

Comments
 (0)
0