mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 18:08:39 +00:00
remove an unrequired function() wrapping
This commit is contained in:
parent
3fdfedb7f7
commit
bf2fc64ce0
1 changed files with 45 additions and 48 deletions
|
@ -35,8 +35,6 @@ Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
|
|||
|
||||
// Add some additional functions to ext and setup some of the
|
||||
// configurable parameters
|
||||
(function() {
|
||||
|
||||
Ext.apply(Ext, {
|
||||
escapeHTML: function(text) {
|
||||
text = String(text).replace('<', '<').replace('>', '>');
|
||||
|
@ -86,7 +84,6 @@ Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
|
|||
Ext.getKeys = Ext.keys;
|
||||
Ext.BLANK_IMAGE_URL = deluge.config.base + 'images/s.gif';
|
||||
Ext.USE_NATIVE_JSON = true;
|
||||
})();
|
||||
|
||||
// Create the Deluge namespace
|
||||
Ext.apply(Deluge, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue