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 juleskremer committed Aug 24, 2017
1 parent 7522cea commit 3f34ee4
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 3f34ee4

Please sign in to comment.