aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/addon-sdk-1.7/python-lib/cuddlefish/manifest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/addon-sdk-1.7/python-lib/cuddlefish/manifest.py b/tools/addon-sdk-1.7/python-lib/cuddlefish/manifest.py
index abe37d3..7309db5 100644
--- a/tools/addon-sdk-1.7/python-lib/cuddlefish/manifest.py
+++ b/tools/addon-sdk-1.7/python-lib/cuddlefish/manifest.py
@@ -611,8 +611,8 @@ def build_manifest(target_cfg, pkg_cfg, deps, scan_tests,
COMMENT_PREFIXES = ["//", "/*", "*", "dump("]
-REQUIRE_RE = r"(?<![\'\"])require\s*\(\s*[\'\"]([^\'\"]+?)[\'\"]\s*\)"
-#REQUIRE_RE = r"(?<!goog[.])(?<![\'\"])\brequire\s*\(\s*[\'\"]([^\'\"]+?)[\'\"]\s*\)"
+#REQUIRE_RE = r"(?<![\'\"])require\s*\(\s*[\'\"]([^\'\"]+?)[\'\"]\s*\)"
+REQUIRE_RE = r"(?<!goog[.])(?<![\'\"])\brequire\s*\(\s*[\'\"]([^\'\"]+?)[\'\"]\s*\)"
# detect the define idiom of the form:
# define("module name", ["dep1", "dep2", "dep3"], function() {})