From 744cb1f8c46d46aef94283160b6ea27d1cf75ece Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Sat, 18 Jun 2011 15:48:17 +0100 Subject: parse @ style closure params --- jarmonbuild/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jarmonbuild/commands.py b/jarmonbuild/commands.py index 14d99a5..fc422d9 100644 --- a/jarmonbuild/commands.py +++ b/jarmonbuild/commands.py @@ -286,7 +286,7 @@ class BuildJavascriptDependenciesCommand(BuildCommand): for line in open(depjs_path): line = line.strip() if line.startswith('//'): - key, val = line.lstrip('/').strip().split(':', 1) + key, val = line.lstrip('/ @').strip().split(':', 1) params.append((key.strip(), val.strip())) # Always use the following value for the Content-type header. -- cgit v1.2.3