Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1426)

Unified Diff: third_party/closure_compiler/processor.py

Issue 574193002: Compile print_preview, part 1: remove all warnings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@true_master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/closure_compiler/processor.py
diff --git a/third_party/closure_compiler/processor.py b/third_party/closure_compiler/processor.py
index be6b79772009e39f8ef4ce8a27df990047632739..4368a2f2755cc43a31b9bfa9e703c370099e0144 100644
--- a/third_party/closure_compiler/processor.py
+++ b/third_party/closure_compiler/processor.py
@@ -73,7 +73,7 @@ class Processor(object):
"""
_IF_TAGS_REG = "</?if[^>]*?>"
- _INCLUDE_REG = "<include[^>]+src=['\"]([^>]*)['\"]>"
+ _INCLUDE_REG = "<include[^>]+src=['\"]([^>]*)['\"] ?/?>"
Dan Beam 2014/09/19 21:51:53 remove, https://codereview.chromium.org/588673003
Vitaly Pavlenko 2014/09/19 21:59:33 I added it because there's a lot of such code: htt
Dan Beam 2014/09/19 22:07:37 not gradually, no: https://codereview.chromium.org
Vitaly Pavlenko 2014/09/19 22:20:17 Ok, reverted my changes.
def __init__(self, source_file):
self._included_files = set()

Powered by Google App Engine
This is Rietveld 408576698