mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 15:08:40 +00:00
no need to have this wrapped in an inline function
add a solitary doc string
This commit is contained in:
parent
4afcae325a
commit
57a9e925a7
1 changed files with 170 additions and 167 deletions
|
@ -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) {
|
constructor: function(config) {
|
||||||
config = Ext.apply({
|
config = Ext.apply({
|
||||||
items: [
|
items: [
|
||||||
|
@ -197,7 +201,6 @@ Copyright:
|
||||||
onTorrentAdd: function() {
|
onTorrentAdd: function() {
|
||||||
Deluge.Add.show();
|
Deluge.Add.show();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
Deluge.Toolbar = new Ext.deluge.Toolbar();
|
Deluge.Toolbar = new Ext.deluge.Toolbar();
|
||||||
})();
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue