angular-cn/packages/compiler/test/ml_parser
Victor Berchet 0ebd577db4 refactor(compiler): Drop support for the deprecated `<template>`. Use `<ng-template>` instead (#22783)
BREAKING CHANGE:

The `<template>` tag was deprecated in Angular v4 to avoid collisions (i.e. when
using Web Components).

This commit removes support for `<template>`. `<ng-template>` should be used
instead.

BEFORE:

    <!-- html template -->
    <template>some template content</template>

    # tsconfig.json
    {
      # ...
      "angularCompilerOptions": {
        # ...
        # This option is no more supported and will have no effect
        "enableLegacyTemplate": [true|false]
      }
    }

AFTER:

    <!-- html template -->
    <ng-template>some template content</ng-template>

PR Close #22783
2018-03-15 14:52:22 -07:00
..
ast_serializer_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
ast_spec_utils.ts build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
html_parser_spec.ts refactor(compiler): Drop support for the deprecated `<template>`. Use `<ng-template>` instead (#22783) 2018-03-15 14:52:22 -07:00
html_whitespaces_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
icu_ast_expander_spec.ts fix(compiler): fix ICU select messages to use male/female/other (#21713) 2018-01-23 16:32:23 -08:00
lexer_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00