Skip to content

Commit

Permalink
Progressbar: Define defaults for callbacks.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Dec 6, 2012
1 parent 1e5662e commit 8c763cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/unit/progressbar/progressbar_common.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ TestHelpers.commonWidgetTests( "progressbar", {
max: 100,

//callbacks
change: null,
complete: null,
create: null
}
});
5 changes: 4 additions & 1 deletion ui/jquery.ui.progressbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
$.widget( "ui.progressbar", {
version: "@VERSION",
options: {
max: 100,
value: 0,
max: 100

change: null,
complete: null
},

min: 0,
Expand Down

0 comments on commit 8c763cd

Please sign in to comment.