From 02dc21d930abfb19f9ea873c62af92a18f0f6205 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 7 Oct 2008 01:04:49 +0000 Subject: [PATCH] Remove magic numbers --- content/completion.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/completion.js b/content/completion.js index 261363b4..eca52f0f 100644 --- a/content/completion.js +++ b/content/completion.js @@ -363,7 +363,7 @@ liberator.Completion = function () //{{{ top = [i, arg, [], [], [], []]; if (arg) top[STATEMENTS].push(firstNonwhite()); - last = top[1]; + last = top[CHAR]; stack.push(top); } let pop = function (arg) @@ -478,7 +478,7 @@ liberator.Completion = function () //{{{ } /* Is this an object reference? */ - if (top[3].length) + if (top[DOTS].length) { let dot = get(-1, 0, DOTS); /*