Progressbar: Removed references to jQuery for compatibility with .noConflict().

This commit is contained in:
Scott González 2008-11-17 01:16:34 +00:00
parent 11a81ac980
commit 45721d461e

View File

@ -92,7 +92,7 @@ $.widget("ui.progressbar", {
self._animate(); self._animate();
} }
else { else {
delete jQuery.easing[self.identifier]; delete $.easing[self.identifier];
} }
} }
} }
@ -107,7 +107,7 @@ $.widget("ui.progressbar", {
.removeData("progressbar").unbind(".progressbar") .removeData("progressbar").unbind(".progressbar")
.find('.ui-progressbar-wrap').remove(); .find('.ui-progressbar-wrap').remove();
delete jQuery.easing[this.identifier]; delete $.easing[this.identifier];
}, },
disable: function() { disable: function() {
@ -151,7 +151,7 @@ $.widget("ui.progressbar", {
return; return;
} }
jQuery.easing[this.identifier] = function (x, t, b, c, d) { $.easing[this.identifier] = function (x, t, b, c, d) {
var inc = options.increment, var inc = options.increment,
width = options.width, width = options.width,
step = ((inc > width ? width : inc)/width), step = ((inc > width ? width : inc)/width),
@ -191,7 +191,7 @@ $.widget("ui.progressbar", {
this.textElement.add(this.textBg).html(text); this.textElement.add(this.textBg).html(text);
}, },
ui: function(event) { ui: function() {
return { return {
identifier: this.identifier, identifier: this.identifier,
options: this.options, options: this.options,