aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEduardo Lundgren <eduardolundgren@gmail.com>2008-08-08 05:57:52 +0000
committerEduardo Lundgren <eduardolundgren@gmail.com>2008-08-08 05:57:52 +0000
commit1064e63967abddf921681816d9696d0fc0a86b4b (patch)
treea7d90bb06ebf81615db9eae8d49f5682bba87731 /tests
parentc0f55a95ac4680f6f28ace16d5d3ee3995cbd753 (diff)
downloadjquery-ui-1064e63967abddf921681816d9696d0fc0a86b4b.tar.gz
jquery-ui-1064e63967abddf921681816d9696d0fc0a86b4b.zip
Source formatting
Diffstat (limited to 'tests')
-rw-r--r--tests/visual/progressbar.html76
1 files changed, 38 insertions, 38 deletions
diff --git a/tests/visual/progressbar.html b/tests/visual/progressbar.html
index f2cc46aad..14769f830 100644
--- a/tests/visual/progressbar.html
+++ b/tests/visual/progressbar.html
@@ -154,80 +154,80 @@ body
<script>
$(function() {
-
+
$('#p1-create').click(function() {
-
+
$('#p1').progressbar({
-
+
text: 'jQuery ProgressBar waiting...',
-
+
//addClass: 'ui-progressbar-inner-custom teste',
-
+
//textClass: 'right-align',
-
+
//align: 'right',
-
+
wait: 'loop',
-
- duration: 2000,
-
- stepping: 3,
-
+
+ duration: 1000,
+
+ stepping: 10,
+
progress: function(range, ui) {
//console.log(ui.pixelRange);
//console.log(range);
//ui.instance.text('Waiting...');
},
-
+
stop: function(s, ui) {
//console.log('stop:' + ui.instance.inprogress);
},
-
+
start: function() {
console.log('user start');
}
-
+
});
-
+
}).trigger("click");
-
-
+
+
$('#p2-create').click(function() {
-
+
$('#p2').progressbar({
-
+
range: true,
-
+
wait: 2000,
-
- duration:1000,
-
+
+ duration:2000,
+
stepping: 5,
-
+
progress: function(range, ui) {
//console.log(ui.pixelRange);
//console.log(range);
},
-
+
stop: function(s, ui) {
//console.log('stop:' + ui.instance.inprogress);
},
-
+
start: function() {
//console.log('user start');
}
-
+
});
-
+
}).trigger("click");
-
-
+
+
$('#p3-create').click(function() { $('#p3').progressbar({
-
+
duration: 2000,
-
+
stepping: 30,
-
+
stop: function(s, ui) {
console.log('stop:' + ui.instance.inProgress);
},
@@ -239,16 +239,16 @@ $(function() {
console.log('user start');
}
}); }).trigger('click');
-
+
});
if(!window.console) {
window.console = {
log: function() {
$('#log').append(arguments[0]+"<br>");
- $('#log').scrollTop(999999);
- }
- };
+ $('#log').scrollTop(999999);
+ }
+ };
}
</script>