1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 21:17:59 +01:00

declare some accidentally global vars

This commit is contained in:
Doug Kearns
2007-11-09 05:30:33 +00:00
parent 2b60f1a26d
commit 9fa91be129
4 changed files with 10 additions and 7 deletions

View File

@@ -328,7 +328,8 @@ const vimperator = (function() //{{{
if (!string)
return [null, null, null];
if (match = string.match(/^([bwtglsv]):(\w+)/)) // Variable
var match = string.match(/^([bwtglsv]):(\w+)/);
if (match) // Variable
{
// Other variables should be implemented
if (match[1] == "g")