blob: 20fa4f44530c080c3e2337d7ca114e8ea498c651 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/**
* Script: toggle.js
* The client-side javascript code for the Toggle plugin.
*
* Copyright (C) John Garland 2010 <johnnybg+deluge@gmail.com>
*
* This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
* the additional special exception to link portions of this program with the OpenSSL library.
* See LICENSE for more details.
*/
TogglePlugin = Ext.extend(Deluge.Plugin, {
constructor: function (config) {
config = Ext.apply(
{
name: 'Toggle',
},
config
);
TogglePlugin.superclass.constructor.call(this, config);
},
onDisable: function () {},
onEnable: function () {},
});
new TogglePlugin();
|