1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 23:08:00 +01:00

Add more useful header comments to shared XPCOMponents.

This commit is contained in:
Kris Maglione
2009-11-09 13:35:27 -05:00
parent 064f60855c
commit 5de5a79ce5
6 changed files with 30 additions and 14 deletions

View File

@@ -1,7 +1,10 @@
// Header: // Header:
const Name = "Muttator"; const Name = "Muttator";
// The following doesn't work here, so this module's code is sadly duplicated: /*
// Components.utils.import("resource://liberator/about-handler.jsm"); * We can't load our modules here, so the following code is sadly
* duplicated: .w !sh
vimdiff ../../*'/components/about-handler.js'
*/
// Copyright (c) 2009 by Doug Kearns // Copyright (c) 2009 by Doug Kearns
// //

View File

@@ -1,7 +1,10 @@
// Header: // Header:
const Name = "Muttator"; const Name = "Muttator";
// The following doesn't work here, so this module's code is sadly duplicated: /*
// Components.utils.import("resource://liberator/commandline-handler.jsm"); * We can't load our modules here, so the following code is sadly
* duplicated: .w !sh
vimdiff ../../*'/components/commandline-handler.js'
*/
// Copyright (c) 2009 by Doug Kearns // Copyright (c) 2009 by Doug Kearns
// //

View File

@@ -1,7 +1,10 @@
// Header: // Header:
const Name = "Vimperator"; const Name = "Vimperator";
// The following doesn't work here, so this module's code is sadly duplicated: /*
// Components.utils.import("resource://liberator/about-handler.jsm"); * We can't load our modules here, so the following code is sadly
* duplicated: .w !sh
vimdiff ../../*'/components/about-handler.js'
*/
// Copyright (c) 2009 by Doug Kearns // Copyright (c) 2009 by Doug Kearns
// //
@@ -28,9 +31,7 @@ AboutHandler.prototype = {
newChannel: function (uri) { newChannel: function (uri) {
let channel = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService) let channel = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService)
.newChannel("chrome://" + name + "/content/about.html", null, null); .newChannel("chrome://" + name + "/content/about.html", null, null);
channel.originalURI = uri; channel.originalURI = uri;
return channel; return channel;
}, },

View File

@@ -1,7 +1,10 @@
// Header: // Header:
const Name = "Vimperator"; const Name = "Vimperator";
// The following doesn't work here, so this module's code is sadly duplicated: /*
// Components.utils.import("resource://liberator/commandline-handler.jsm"); * We can't load our modules here, so the following code is sadly
* duplicated: .w !sh
vimdiff ../../*'/components/commandline-handler.js'
*/
// Copyright (c) 2009 by Doug Kearns // Copyright (c) 2009 by Doug Kearns
// //

View File

@@ -1,7 +1,10 @@
// Header: // Header:
const Name = "Xulmus"; const Name = "Xulmus";
// The following doesn't work here, so this module's code is sadly duplicated: /*
// Components.utils.import("resource://liberator/about-handler.jsm"); * We can't load our modules here, so the following code is sadly
* duplicated: .w !sh
vimdiff ../../*'/components/about-handler.js'
*/
// Copyright (c) 2009 by Doug Kearns // Copyright (c) 2009 by Doug Kearns
// //

View File

@@ -1,7 +1,10 @@
// Header: // Header:
const Name = "Xulmus"; const Name = "Xulmus";
// The following doesn't work here, so this module's code is sadly duplicated: /*
// Components.utils.import("resource://liberator/commandline-handler.jsm"); * We can't load our modules here, so the following code is sadly
* duplicated: .w !sh
vimdiff ../../*'/components/commandline-handler.js'
*/
// Copyright (c) 2009 by Doug Kearns // Copyright (c) 2009 by Doug Kearns
// //