fix indentation

This commit is contained in:
Damien Churchill 2009-09-10 14:26:14 +00:00
parent 1ebb490e4e
commit 5573d7ef7d

View File

@ -1,7 +1,7 @@
/* /*
Script: deluge-bars.js Script: deluge-bars.js
Contains all objects and functions related to the statusbar, toolbar and Contains all objects and functions related to the statusbar, toolbar and
sidebar. sidebar.
Copyright: Copyright:
(C) Damien Churchill 2009 <damoxc@gmail.com> (C) Damien Churchill 2009 <damoxc@gmail.com>
@ -21,15 +21,15 @@ Copyright:
51 Franklin Street, Fifth Floor 51 Franklin Street, Fifth Floor
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
In addition, as a special exception, the copyright holders give In addition, as a special exception, the copyright holders give
permission to link the code of portions of this program with the OpenSSL permission to link the code of portions of this program with the OpenSSL
library. library.
You must obey the GNU General Public License in all respects for all of You must obey the GNU General Public License in all respects for all of
the code used other than OpenSSL. If you modify file(s) with this the code used other than OpenSSL. If you modify file(s) with this
exception, you may extend this exception to your version of the file(s), exception, you may extend this exception to your version of the file(s),
but you are not obligated to do so. If you do not wish to do so, delete but you are not obligated to do so. If you do not wish to do so, delete
this exception statement from your version. If you delete this exception this exception statement from your version. If you delete this exception
statement from all source files in the program, then also delete it here. statement from all source files in the program, then also delete it here.
*/ */
@ -111,7 +111,7 @@ Copyright:
var panel = new Ext.grid.GridPanel({ var panel = new Ext.grid.GridPanel({
id: filter + '-panel', id: filter + '-panel',
border: false, border: false,
store: store, store: store,
title: _(title), title: _(title),
columns: [ columns: [
@ -190,8 +190,8 @@ Copyright:
}, },
/** /**
* Remove the states with zero torrents in them. * Remove the states with zero torrents in them.
*/ */
removeZero: function(states) { removeZero: function(states) {
var newStates = []; var newStates = [];
Ext.each(states, function(state) { Ext.each(states, function(state) {
@ -231,7 +231,6 @@ Copyright:
this.panels[filter].getSelectionModel().selectRow(this.selected.row); this.panels[filter].getSelectionModel().selectRow(this.selected.row);
} }
} }
}); });
Deluge.Sidebar = new Ext.deluge.Sidebar(); Deluge.Sidebar = new Ext.deluge.Sidebar();
})(); })();