summaryrefslogtreecommitdiffstats
path: root/deluge/plugins/Toggle/deluge_toggle/data/toggle.js
blob: 8e9a045ad696ce1a6ff7ad137b8d7a742baf7132 (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();