1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 09:08:10 +01:00
Files
pentadactyl-pm/xulmus/components/dactyl.js
Doug Kearns 904f3cb974 More camel-casing.
isInstance -> isinstance as homage to instanceof.
2010-09-24 16:19:50 +10:00

33 lines
964 B
JavaScript

// Copyright (c) 2008-2010 Kris Maglione <maglione.k at Gmail>
//
// This work is licensed for reuse under an MIT license. Details are
// given in the LICENSE.txt file included with this file.
"use strict";
const Ci = Components.interfaces, Cc = Components.classes;
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
function Dactyl() {
this.wrappedJSObject = this;
}
Dactyl.prototype = {
contractID: "@dactyl.googlecode.com/base/dactyl",
classID: Components.ID("{8e4a8e2f-95a0-4d8f-90ac-fc9d7d8f5468}"),
classDescription: "Dactyl component base definitions",
QueryInterface: XPCOMUtils.generateQI([]),
appName: "Xulmus",
name: "xulmus",
idName: "XULMUS",
host: "Songbird"
};
if (XPCOMUtils.generateNSGetFactory)
const NSGetFactory = XPCOMUtils.generateNSGetFactory([Dactyl]);
else
const NSGetModule = XPCOMUtils.generateNSGetModule([Dactyl]);
// vim: set fdm=marker sw=4 ts=4 et: