no need to have this wrapped in an inline function

add a solitary doc string
This commit is contained in:
Damien Churchill 2010-01-26 17:35:18 +00:00
commit 57a9e925a7

View file

@ -32,8 +32,12 @@ Copyright:
*/
(function() {
Ext.deluge.Toolbar = Ext.extend(Ext.Toolbar, {
/**
* An extension of the <tt>Ext.Toolbar</tt> class that provides an extensible toolbar for Deluge.
* @class Ext.deluge.Toolbar
* @extends Ext.Toolbar
*/
Ext.deluge.Toolbar = Ext.extend(Ext.Toolbar, {
constructor: function(config) {
config = Ext.apply({
items: [
@ -197,7 +201,6 @@ Copyright:
onTorrentAdd: function() {
Deluge.Add.show();
}
});
});
Deluge.Toolbar = new Ext.deluge.Toolbar();
})();
Deluge.Toolbar = new Ext.deluge.Toolbar();