From 41dbab69b2078a106927bc405a90941164253979 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Thu, 6 Nov 2008 07:59:38 +0000 Subject: [PATCH] normalise the header comments --- .../templates/ajax/static/js/deluge-add.js | 15 ++++++----- .../templates/ajax/static/js/deluge-bars.js | 25 ++++++++++++++----- .../ajax/static/js/deluge-details.js | 15 ++++++----- .../templates/ajax/static/js/deluge-menus.js | 15 ++++++----- .../ajax/static/js/deluge-preferences.js | 16 ++++++------ .../ajax/static/js/deluge-torrent-grid.js | 3 +-- .../templates/ajax/static/js/deluge-ui.js | 3 +-- 7 files changed, 57 insertions(+), 35 deletions(-) diff --git a/deluge/ui/webui/templates/ajax/static/js/deluge-add.js b/deluge/ui/webui/templates/ajax/static/js/deluge-add.js index 655c50640..bded37bbc 100644 --- a/deluge/ui/webui/templates/ajax/static/js/deluge-add.js +++ b/deluge/ui/webui/templates/ajax/static/js/deluge-add.js @@ -1,10 +1,13 @@ /* - * Script: deluge-add.js - * Contains the add torrent window and the torrent creator window. - * - * Copyright: - * Damien Churchill (c) 2008 - */ +Script: deluge-add.js + Contains the add torrent window and the torrent creator window. + +License: + General Public License v3 + +Copyright: + Damien Churchill (c) 2008 +*/ Deluge.Widgets.AddWindow = new Class({ Extends: Widgets.Window, diff --git a/deluge/ui/webui/templates/ajax/static/js/deluge-bars.js b/deluge/ui/webui/templates/ajax/static/js/deluge-bars.js index afbee977e..331fe6f1b 100644 --- a/deluge/ui/webui/templates/ajax/static/js/deluge-bars.js +++ b/deluge/ui/webui/templates/ajax/static/js/deluge-bars.js @@ -1,10 +1,23 @@ /* - * Script: deluge-bars.js - * Contains the various bars (Sidebar, Toolbar, Statusbar) used within deluge - * - * Copyright: - * Damien Churchill (c) 2008 - */ +Script: deluge-bars.js + Contains the various bars (Sidebar, Toolbar, Statusbar) used within Deluge. + +License: + General Public License v3 + +Copyright: + Damien Churchill (c) 2008 + + + Class: Deluge.Widgets.Toolbar + Manages the top toolbar handling clicks and actions. + + Example: + toolbar = new Deluge.Widgets.Toolbar(); + + Returns: + An instance of the class wrapped about the toolbar. +*/ Deluge.Widgets.Toolbar = new Class({ Implements: Events, diff --git a/deluge/ui/webui/templates/ajax/static/js/deluge-details.js b/deluge/ui/webui/templates/ajax/static/js/deluge-details.js index eeeb51996..b60959514 100644 --- a/deluge/ui/webui/templates/ajax/static/js/deluge-details.js +++ b/deluge/ui/webui/templates/ajax/static/js/deluge-details.js @@ -1,10 +1,13 @@ /* - * Script: deluge-details.js - * Contains the tabs for the torrent details - * - * Copyright: - * Damien Churchill (c) 2008 - */ +Script: deluge-details.js + Contains the tabs for the torrent details. + +License: + General Public License v3 + +Copyright: + Damien Churchill (c) 2008 +*/ Deluge.Widgets.Details = new Class({ Extends: Widgets.Tabs, diff --git a/deluge/ui/webui/templates/ajax/static/js/deluge-menus.js b/deluge/ui/webui/templates/ajax/static/js/deluge-menus.js index a84e0887d..d8d638989 100644 --- a/deluge/ui/webui/templates/ajax/static/js/deluge-menus.js +++ b/deluge/ui/webui/templates/ajax/static/js/deluge-menus.js @@ -1,10 +1,13 @@ /* - * Script: deluge-menus.js - * Contains the layout for all the popup menus used within the ajax ui. - * - * Copyright: - * Damien Churchill (c) 2008 - */ +Script: deluge-menus.js + Contains the layout for all the popup menus used within the ajax ui. + +License: + General Public License v3 + +Copyright: + Damien Churchill (c) 2008 +*/ Deluge.Menus = { Torrents: [ diff --git a/deluge/ui/webui/templates/ajax/static/js/deluge-preferences.js b/deluge/ui/webui/templates/ajax/static/js/deluge-preferences.js index 0c94a1325..9c1c3600d 100644 --- a/deluge/ui/webui/templates/ajax/static/js/deluge-preferences.js +++ b/deluge/ui/webui/templates/ajax/static/js/deluge-preferences.js @@ -1,12 +1,14 @@ /* - * Script: deluge-preferences.js - * Contains the classes that provides the preferences window with - * functionality - * - * Copyright: - * Damien Churchill (c) 2008 - */ +Script: deluge-preferences.js + Contains the classes that provides the preferences window with + functionality +License: + General Public License v3 + +Copyright: + Damien Churchill (c) 2008 +*/ Deluge.Widgets.PreferencesCategory = new Class({ Extends: Widgets.TabPage diff --git a/deluge/ui/webui/templates/ajax/static/js/deluge-torrent-grid.js b/deluge/ui/webui/templates/ajax/static/js/deluge-torrent-grid.js index e110cc97c..6e5161329 100644 --- a/deluge/ui/webui/templates/ajax/static/js/deluge-torrent-grid.js +++ b/deluge/ui/webui/templates/ajax/static/js/deluge-torrent-grid.js @@ -7,9 +7,8 @@ License: Copyright: Damien Churchill (c) 2008 -*/ -/* + Class: Deluge.Widgets.TorrentGrid Extending Widgest.DataGrid to manage the torrents in the main grid. diff --git a/deluge/ui/webui/templates/ajax/static/js/deluge-ui.js b/deluge/ui/webui/templates/ajax/static/js/deluge-ui.js index 4d8938fab..e8c23f34c 100644 --- a/deluge/ui/webui/templates/ajax/static/js/deluge-ui.js +++ b/deluge/ui/webui/templates/ajax/static/js/deluge-ui.js @@ -7,9 +7,8 @@ License: Copyright: Damien Churchill (c) 2008 -*/ -/* + Object: Deluge.UI The object that manages