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:
@@ -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
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -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
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -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;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -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
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -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
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user