Revert "feat(change_detection): make INTERPOLATE_REGEXP customizable (#7417)"

This reverts commit c3fafa0651.

The symbols should be configured at the component level and not be global to the compiler.
This commit is contained in:
Victor Berchet
2016-06-01 17:31:35 -07:00
parent 04220be8fd
commit 1a386a58c8
10 changed files with 20 additions and 43 deletions
+2 -2
View File
@@ -160,12 +160,12 @@ export class CodeGenerator {
const htmlParser = new HtmlParser();
const config = new compiler.CompilerConfig(true, true, true);
const normalizer = new DirectiveNormalizer(xhr, urlResolver, htmlParser, config);
const parser = new Parser(new Lexer(), config);
const parser = new Parser(new Lexer());
const tmplParser = new TemplateParser(parser, new DomElementSchemaRegistry(), htmlParser,
/*console*/ null, []);
const offlineCompiler = new compiler.OfflineCompiler(
normalizer, tmplParser, new StyleCompiler(urlResolver),
new ViewCompiler(config),
new ViewCompiler(new compiler.CompilerConfig(true, true, true)),
new TypeScriptEmitter(reflectorHost), xhr);
const resolver = new CompileMetadataResolver(
new compiler.DirectiveResolver(staticReflector), new compiler.PipeResolver(staticReflector),