From 7f1dadf3cd42ef2ef7e5957a58282fc24eeaa1b0 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Wed, 31 Mar 2010 17:19:18 +0100 Subject: [PATCH] remove all the trailing commas as ie doesn't like them --- deluge/ui/web/js/deluge-all/Login.js | 2 +- deluge/ui/web/js/deluge-all/add/OptionsPanel.js | 6 +++--- deluge/ui/web/js/deluge-all/details/PeersTab.js | 3 +-- .../js/deluge-all/preferences/BandwidthPage.js | 4 ++-- .../web/js/deluge-all/preferences/CachePage.js | 4 ++-- .../web/js/deluge-all/preferences/DaemonPage.js | 2 +- .../js/deluge-all/preferences/DownloadsPage.js | 2 +- .../js/deluge-all/preferences/InterfacePage.js | 2 +- .../web/js/deluge-all/preferences/NetworkPage.js | 8 ++++---- .../web/js/deluge-all/preferences/ProxyField.js | 2 +- .../web/js/deluge-all/preferences/QueuePage.js | 16 ++++++++-------- 11 files changed, 25 insertions(+), 26 deletions(-) diff --git a/deluge/ui/web/js/deluge-all/Login.js b/deluge/ui/web/js/deluge-all/Login.js index 1852594db..a25009148 100644 --- a/deluge/ui/web/js/deluge-all/Login.js +++ b/deluge/ui/web/js/deluge-all/Login.js @@ -62,7 +62,7 @@ Deluge.LoginWindow = Ext.extend(Ext.Window, { labelWidth: 55, width: 300, defaults: {width: 200}, - defaultType: 'textfield', + defaultType: 'textfield' }); this.passwordField = this.form.add({ diff --git a/deluge/ui/web/js/deluge-all/add/OptionsPanel.js b/deluge/ui/web/js/deluge-all/add/OptionsPanel.js index 57e686399..948e476cc 100644 --- a/deluge/ui/web/js/deluge-all/add/OptionsPanel.js +++ b/deluge/ui/web/js/deluge-all/add/OptionsPanel.js @@ -126,7 +126,7 @@ Deluge.add.OptionsPanel = Ext.extend(Ext.TabPanel, { inputValue: true, boxLabel: _('Compact'), fieldLabel: '', - labelSeparator: '', + labelSeparator: '' }] })); @@ -173,13 +173,13 @@ Deluge.add.OptionsPanel = Ext.extend(Ext.TabPanel, { name: 'add_paused', boxLabel: _('Add In Paused State'), fieldLabel: '', - labelSeparator: '', + labelSeparator: '' })); this.optionsManager.bind('prioritize_first_last_pieces', fieldset.add({ name: 'prioritize_first_last_pieces', boxLabel: _('Prioritize First/Last Pieces'), fieldLabel: '', - labelSeparator: '', + labelSeparator: '' })); this.form.on('render', this.onFormRender, this); diff --git a/deluge/ui/web/js/deluge-all/details/PeersTab.js b/deluge/ui/web/js/deluge-all/details/PeersTab.js index 16bd7e6da..6ddc8d057 100644 --- a/deluge/ui/web/js/deluge-all/details/PeersTab.js +++ b/deluge/ui/web/js/deluge-all/details/PeersTab.js @@ -56,8 +56,7 @@ store: new Ext.data.Store({ reader: new Ext.data.JsonReader({ idProperty: 'ip', - root: 'peers', - + root: 'peers' }, Deluge.data.Peer) }), columns: [{ diff --git a/deluge/ui/web/js/deluge-all/preferences/BandwidthPage.js b/deluge/ui/web/js/deluge-all/preferences/BandwidthPage.js index 310d5216e..9e3f823fd 100644 --- a/deluge/ui/web/js/deluge-all/preferences/BandwidthPage.js +++ b/deluge/ui/web/js/deluge-all/preferences/BandwidthPage.js @@ -145,14 +145,14 @@ Deluge.preferences.Bandwidth = Ext.extend(Ext.form.FormPanel, { height: 22, fieldLabel: '', labelSeparator: '', - boxLabel: _('Ignore limits on local network'), + boxLabel: _('Ignore limits on local network') })); optMan.bind('rate_limit_ip_overhead', fieldset.add({ name: 'rate_limit_ip_overhead', height: 22, fieldLabel: '', labelSeparator: '', - boxLabel: _('Rate limit IP overhead'), + boxLabel: _('Rate limit IP overhead') })); fieldset = this.add({ diff --git a/deluge/ui/web/js/deluge-all/preferences/CachePage.js b/deluge/ui/web/js/deluge-all/preferences/CachePage.js index 4acc85117..16b3be30b 100644 --- a/deluge/ui/web/js/deluge-all/preferences/CachePage.js +++ b/deluge/ui/web/js/deluge-all/preferences/CachePage.js @@ -68,7 +68,7 @@ Deluge.preferences.Cache = Ext.extend(Ext.form.FormPanel, { decimalPrecision: 0, minValue: -1, maxValue: 99999 - }, + } })); optMan.bind('cache_expiry', fieldset.add({ fieldLabel: _('Cache Expiry (seconds)'), @@ -80,7 +80,7 @@ Deluge.preferences.Cache = Ext.extend(Ext.form.FormPanel, { decimalPrecision: 0, minValue: -1, maxValue: 99999 - }, + } })); } }); diff --git a/deluge/ui/web/js/deluge-all/preferences/DaemonPage.js b/deluge/ui/web/js/deluge-all/preferences/DaemonPage.js index 1611ee48c..4e22c1a63 100644 --- a/deluge/ui/web/js/deluge-all/preferences/DaemonPage.js +++ b/deluge/ui/web/js/deluge-all/preferences/DaemonPage.js @@ -66,7 +66,7 @@ Deluge.preferences.Daemon = Ext.extend(Ext.form.FormPanel, { decimalPrecision: 0, minValue: -1, maxValue: 99999 - }, + } })); fieldset = this.add({ diff --git a/deluge/ui/web/js/deluge-all/preferences/DownloadsPage.js b/deluge/ui/web/js/deluge-all/preferences/DownloadsPage.js index 2ebb8c7ff..81c6ad43b 100644 --- a/deluge/ui/web/js/deluge-all/preferences/DownloadsPage.js +++ b/deluge/ui/web/js/deluge-all/preferences/DownloadsPage.js @@ -102,7 +102,7 @@ Deluge.preferences.Downloads = Ext.extend(Ext.FormPanel, { labelWidth: 1, defaultType: 'radiogroup', style: 'margin-bottom: 5px; margin-top: 0; padding-bottom: 5px; padding-top: 0;', - width: 240, + width: 240 }); optMan.bind('compact_allocation', fieldset.add({ name: 'compact_allocation', diff --git a/deluge/ui/web/js/deluge-all/preferences/InterfacePage.js b/deluge/ui/web/js/deluge-all/preferences/InterfacePage.js index 2ff4dcc75..fac96afa1 100644 --- a/deluge/ui/web/js/deluge-all/preferences/InterfacePage.js +++ b/deluge/ui/web/js/deluge-all/preferences/InterfacePage.js @@ -136,7 +136,7 @@ Deluge.preferences.Interface = Ext.extend(Ext.form.FormPanel, { labelWidth: 110, defaultType: 'spinnerfield', defaults: { - width: 80, + width: 80 } }); optMan.bind('session_timeout', fieldset.add({ diff --git a/deluge/ui/web/js/deluge-all/preferences/NetworkPage.js b/deluge/ui/web/js/deluge-all/preferences/NetworkPage.js index c3606114f..cdd2002fb 100644 --- a/deluge/ui/web/js/deluge-all/preferences/NetworkPage.js +++ b/deluge/ui/web/js/deluge-all/preferences/NetworkPage.js @@ -86,7 +86,7 @@ Deluge.preferences.Network = Ext.extend(Ext.form.FormPanel, { decimalPrecision: 0, minValue: -1, maxValue: 99999 - }, + } }, { fieldLabel: 'To', width: 80, @@ -95,7 +95,7 @@ Deluge.preferences.Network = Ext.extend(Ext.form.FormPanel, { decimalPrecision: 0, minValue: -1, maxValue: 99999 - }, + } }] }); optMan.bind('listen_ports', this.listenPorts); @@ -140,7 +140,7 @@ Deluge.preferences.Network = Ext.extend(Ext.form.FormPanel, { decimalPrecision: 0, minValue: -1, maxValue: 99999 - }, + } }, { fieldLabel: 'To', strategy: { @@ -148,7 +148,7 @@ Deluge.preferences.Network = Ext.extend(Ext.form.FormPanel, { decimalPrecision: 0, minValue: -1, maxValue: 99999 - }, + } }] }); optMan.bind('outgoing_ports', this.outgoingPorts); diff --git a/deluge/ui/web/js/deluge-all/preferences/ProxyField.js b/deluge/ui/web/js/deluge-all/preferences/ProxyField.js index 638a1fec0..102fce920 100644 --- a/deluge/ui/web/js/deluge-all/preferences/ProxyField.js +++ b/deluge/ui/web/js/deluge-all/preferences/ProxyField.js @@ -62,7 +62,7 @@ Deluge.preferences.ProxyField = Ext.extend(Ext.form.FieldSet, { [2, _('Socksv5')], [3, _('Socksv5 with Auth')], [4, _('HTTP')], - [5, _('HTTP with Auth')], + [5, _('HTTP with Auth')] ] }), value: 0, diff --git a/deluge/ui/web/js/deluge-all/preferences/QueuePage.js b/deluge/ui/web/js/deluge-all/preferences/QueuePage.js index e72bf8464..b7b89ba2a 100644 --- a/deluge/ui/web/js/deluge-all/preferences/QueuePage.js +++ b/deluge/ui/web/js/deluge-all/preferences/QueuePage.js @@ -74,7 +74,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, { autoHeight: true, labelWidth: 150, defaultType: 'spinnerfield', - style: 'margin-bottom: 0px; padding-bottom: 0px;', + style: 'margin-bottom: 0px; padding-bottom: 0px;' }); optMan.bind('max_active_limit', fieldset.add({ fieldLabel: _('Total Active'), @@ -86,7 +86,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, { decimalPrecision: 0, minValue: -1, maxValue: 99999 - }, + } })); optMan.bind('max_active_downloading', fieldset.add({ fieldLabel: _('Total Active Downloading'), @@ -98,7 +98,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, { decimalPrecision: 0, minValue: -1, maxValue: 99999 - }, + } })); optMan.bind('max_active_seeding', fieldset.add({ fieldLabel: _('Total Active Seeding'), @@ -110,7 +110,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, { decimalPrecision: 0, minValue: -1, maxValue: 99999 - }, + } })); optMan.bind('dont_count_slow_torrents', fieldset.add({ xtype: 'checkbox', @@ -127,7 +127,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, { autoHeight: true, labelWidth: 150, defaultType: 'spinnerfield', - style: 'margin-bottom: 0px; padding-bottom: 0px; margin-top: 0; padding-top: 0;', + style: 'margin-bottom: 0px; padding-bottom: 0px; margin-top: 0; padding-top: 0;' }); optMan.bind('share_ratio_limit', fieldset.add({ fieldLabel: _('Share Ratio Limit'), @@ -139,7 +139,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, { decimalPrecision: 0, minValue: -1, maxValue: 99999 - }, + } })); optMan.bind('seed_time_ratio_limit', fieldset.add({ fieldLabel: _('Share Time Ratio'), @@ -151,7 +151,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, { decimalPrecision: 0, minValue: -1, maxValue: 99999 - }, + } })); optMan.bind('seed_time_limit', fieldset.add({ fieldLabel: _('Seed Time (m)'), @@ -163,7 +163,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, { decimalPrecision: 0, minValue: -1, maxValue: 99999 - }, + } })); fieldset = this.add({