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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user