]> source.dussan.org Git - jquery-ui.git/commitdiff
Progressbar: Define defaults for callbacks.
authorScott González <scott.gonzalez@gmail.com>
Thu, 6 Dec 2012 14:21:25 +0000 (09:21 -0500)
committerScott González <scott.gonzalez@gmail.com>
Thu, 6 Dec 2012 14:21:25 +0000 (09:21 -0500)
tests/unit/progressbar/progressbar_common.js
ui/jquery.ui.progressbar.js

index 2f97a78bb705c753c5322409fff0edaa60d72cb7..ceee3fbec0769a68f1fd43dfbbb001b1549e23c1 100644 (file)
@@ -5,6 +5,8 @@ TestHelpers.commonWidgetTests( "progressbar", {
                max: 100,
 
                //callbacks
+               change: null,
+               complete: null,
                create: null
        }
 });
index 0f97bc3fe2302bb0df02ff0d9425f56c6cf1ab84..53c9508edc783b629edc1c8dd7f4ced635e57f3a 100644 (file)
 $.widget( "ui.progressbar", {
        version: "@VERSION",
        options: {
+               max: 100,
                value: 0,
-               max: 100
+
+               change: null,
+               complete: null
        },
 
        min: 0,