1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 15:57:57 +01:00

Whitespace fixes.

This commit is contained in:
Doug Kearns
2010-09-24 16:26:08 +10:00
parent 904f3cb974
commit 0d2b1b6dfd
13 changed files with 41 additions and 41 deletions

View File

@@ -139,7 +139,7 @@ const JavaScript = Module("javascript", {
// Todo: Fix these one-letter variable names.
this._i = 0;
this._c = ""; // Current index and character, respectively.
this._c = ""; // Current index and character, respectively.
// Reuse the old stack.
if (this._str && filter.substr(0, this._str.length) == this._str) {
@@ -180,7 +180,7 @@ const JavaScript = Module("javascript", {
// A "." or a "[" dereferences the last "statement" and effectively
// joins it to this logical statement.
if ((this._c == "." || this._c == "[") && /[\w$\])"']/.test(this._lastNonwhite)
|| this._lastNonwhite == "." && /[a-zA-Z_$]/.test(this._c))
|| this._lastNonwhite == "." && /[a-zA-Z_$]/.test(this._c))
this._top.statements.pop();
switch (this._c) {