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

declare some accidentally global vars

This commit is contained in:
Doug Kearns
2007-11-03 08:51:07 +00:00
parent b17aec84a2
commit 34da6b0f0e
4 changed files with 14 additions and 11 deletions

View File

@@ -212,7 +212,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")