From 9450e65d052eb6d8cfee111c10dbf4708c4b8a36 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Tue, 13 Oct 2009 17:35:47 +1100 Subject: [PATCH] Change lots of local vars in hints.js to camel case. HACKING is that way -> --HG-- extra : rebase_source : f531065897da913844d46f084a3b2ee890f215d1 --- common/content/hints.js | 118 ++++++++++++++++++++-------------------- 1 file changed, 59 insertions(+), 59 deletions(-) diff --git a/common/content/hints.js b/common/content/hints.js index 60a81d3c..9a1c40c1 100644 --- a/common/content/hints.js +++ b/common/content/hints.js @@ -12,7 +12,7 @@ function Hints() //{{{ ////////////////////// PRIVATE SECTION ///////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////{{{ - const ELEM = 0, TEXT = 1, SPAN = 2, IMGSPAN = 3; + const ELEM = 0, TEXT = 1, SPAN = 2, IMG_SPAN = 3; var myModes = config.browserModes; @@ -24,7 +24,7 @@ function Hints() //{{{ var prevInput = ""; // record previous user input type, "text" || "number" var extendedhintCount; // for the count argument of Mode#action (extended hint only) - // hints[] = [elem, text, span, imgspan, elem.style.backgroundColor, elem.style.color] + // hints[] = [elem, text, span, imgSpan, elem.style.backgroundColor, elem.style.color] var pageHints = []; var validHints = []; // store the indices of the "hints" array with valid elements @@ -115,12 +115,12 @@ function Hints() //{{{ * neighbouring element might look like a label. Only called by generate(). * * If it finds a hint it returns it, if the hint is not the caption of the - * element it will return showtext=true. + * element it will return showText=true. * * @param {Object} elem The element used to generate hint text. * @param {Document} doc The containing document. * - * @returns [text, showtext] + * @returns [text, showText] */ function getInputHint(elem, doc) { @@ -128,7 +128,7 @@ function Hints() //{{{ // Use the value if it is not numeric or label or name // Never use the value, use label or name //