(function(){u8.Base.Widgets.PercentComplete=function(e,t){$.extend(true,this,u8.Base.Widgets.PercentComplete.defaults,t);this.Widget(e,t);this._createDom()};u8.Base.Widgets.PercentComplete.makeClass({name:"PercentComplete",deriveFrom:u8.Base.Widgets.Widget});$.extend(u8.Base.Widgets.PercentComplete.prototype,{setValue:function(e){this.value=e;this.update()},getValue:function(){return this.value},update:function(){this._createDom()},_createDom:function(){this.$(this.element).text((this.value||0)+"%")}})})();