mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 22:02:26 +01:00
Sorry, committed some things accidentally, before. Added modes.addMode. Made some changes to Commands toward using the parser for completions.
This commit is contained in:
@@ -444,9 +444,6 @@ function Commands() //{{{
|
|||||||
while (i < str.length)
|
while (i < str.length)
|
||||||
{
|
{
|
||||||
// skip whitespace
|
// skip whitespace
|
||||||
//let re = /^\s*/;
|
|
||||||
//re.lastIndex = i;
|
|
||||||
//i += re.exec(str)[0].length;
|
|
||||||
if (/\s/.test(str[i]))
|
if (/\s/.test(str[i]))
|
||||||
{
|
{
|
||||||
i++;
|
i++;
|
||||||
|
|||||||
Reference in New Issue
Block a user