remove pointless privatising

This commit is contained in:
Damien Churchill 2009-04-21 21:46:20 +00:00
parent ee5cfc8cff
commit 9df1ec2193
2 changed files with 133 additions and 137 deletions

View File

@ -21,8 +21,7 @@ Copyright:
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
*/ */
(function() { Ext.deluge.details.DetailsTab = Ext.extend(Ext.Panel, {
Ext.deluge.details.DetailsTab = Ext.extend(Ext.Panel, {
title: _('Details'), title: _('Details'),
cls: 'x-deluge-status', cls: 'x-deluge-status',
@ -74,6 +73,5 @@ Copyright:
this.fields[field].innerHTML = data[field]; this.fields[field].innerHTML = data[field];
} }
} }
}); });
Deluge.Details.add(new Ext.deluge.details.DetailsTab()); Deluge.Details.add(new Ext.deluge.details.DetailsTab());
})();

View File

@ -21,8 +21,7 @@ Copyright:
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
*/ */
(function() { Ext.deluge.details.StatusTab = Ext.extend(Ext.Panel, {
Ext.deluge.details.StatusTab = Ext.extend(Ext.Panel, {
title: _('Status'), title: _('Status'),
onRender: function(ct, position) { onRender: function(ct, position) {
@ -104,6 +103,5 @@ Copyright:
var text = status.state + ' ' + status.progress.toFixed(2) + '%'; var text = status.state + ' ' + status.progress.toFixed(2) + '%';
this.progressBar.updateProgress(status.progress, text); this.progressBar.updateProgress(status.progress, text);
} }
}); });
Deluge.Details.add(new Ext.deluge.details.StatusTab()); Deluge.Details.add(new Ext.deluge.details.StatusTab());
})();