don't tolerate Lua comments when parsing commands
Dependencies
- [2]
WIBNGKLFrename - [3]
Y2K3ID34ignore comments when selecting buffer name - [4]
BXXTVMBQbetter organization of errors - [5]
JUTECG5Xbring template-live's protocol in sync with template-live-editor - [6]
UQLKUPWRstart including a default_map with each app - [7]
TK4G4GMCexpose a command for the driver to remotely restart an app - [8]
T3LA4DVGnew command: batch GET - [9]
4XBR6CLDbe robust to leading whitespace - [10]
TNRO6KLZnew live app - [11]
UUX7J2OAprevent overriding foundational definitions
Change contents
- replacement in main.lua at line 180
local cmd = buf:gsub('%-%-[^\n]*', ''):match('^%s*(%S+)')local cmd = buf:match('^%s*(%S+)') - replacement in main.lua at line 182
print('command is '..cmd)print('checking for command: '..cmd) - replacement in main.lua at line 230
local definition_name = cmdlocal definition_name = buf:gsub('%-%-[^\n]*', ''):match('^%s*(%S+)')print('definition name is '..definition_name)