mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Progressbar: Removed references to jQuery for compatibility with .noConflict().
This commit is contained in:
parent
11a81ac980
commit
45721d461e
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user