mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-21 14:45:44 +01:00
Camel-case some identifiers gone rogue.
Do not free a camel of the burden of his hump; you may be freeing him from being a camel. - G. K. Chesterton
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"use strict";
|
||||
|
||||
Components.utils.import("resource://dactyl/base.jsm");
|
||||
defmodule("highlight", {
|
||||
defineModule("highlight", {
|
||||
exports: ["Highlight", "Highlights", "highlight"],
|
||||
require: ["services", "styles"],
|
||||
use: ["template", "util"]
|
||||
@@ -66,7 +66,7 @@ const Highlights = Module("Highlight", {
|
||||
_create: function (agent, args) {
|
||||
let obj = Highlight.apply(Highlight, args);
|
||||
|
||||
if (!isarray(obj[2]))
|
||||
if (!isArray(obj[2]))
|
||||
obj[2] = obj[2].split(",");
|
||||
obj[5] = agent;
|
||||
|
||||
@@ -337,6 +337,6 @@ const Highlights = Module("Highlight", {
|
||||
|
||||
// catch(e){dump(e.fileName+":"+e.lineNumber+": "+e+"\n" + e.stack);}
|
||||
|
||||
endmodule();
|
||||
endModule();
|
||||
|
||||
// vim:se fdm=marker sw=4 ts=4 et ft=javascript:
|
||||
|
||||
Reference in New Issue
Block a user