Skip to content

Commit

Permalink
fix(compiler): enableLegacyTemplate should not be ignored (angular#17051
Browse files Browse the repository at this point in the history
  • Loading branch information
hotforfeature authored and Zhicheng Wang committed Aug 11, 2017
1 parent dc00526 commit 09737c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/compiler/src/jit/compiler_factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ function _mergeOptions(optionsArr: CompilerOptions[]): CompilerOptions {
defaultEncapsulation: _lastDefined(optionsArr.map(options => options.defaultEncapsulation)),
providers: _mergeArrays(optionsArr.map(options => options.providers !)),
missingTranslation: _lastDefined(optionsArr.map(options => options.missingTranslation)),
enableLegacyTemplate: _lastDefined(optionsArr.map(options => options.enableLegacyTemplate)),
};
}

Expand Down

0 comments on commit 09737c3

Please sign in to comment.