angular-cn/packages/compiler-cli/test
Carlos Ortiz Garcia e99d860393 feat(compiler): add "original" placeholder value on extracted XMB (#25079)
Update XMB placeholders(<ph>) to include the original value on top of an
example. Placeholders can by definition have one example(<ex>) tag and a
text node. The text node is used by TC as the "original" value from the
placeholder, while the example should represent a dummy value.
For example: <ph name="PET"><ex>Gopher</ex>{{ petName }}</ph>.
This change makes sure that we have the original text, but it *DOES NOT*
make sure that the example is correct. The example has the same wrong
behavior of showing the interpolation text rather than a useful
example.

No breaking changes, but tools that depend on the previous behavior and
don't consider the full XMB definition may fail to parse the XMB.
Fixes b/72565847

PR Close #25079
2018-07-30 16:49:00 -07:00
..
compliance fix(ivy): convert context code into a tree-shakable instruction (#24943) 2018-07-30 15:54:11 -07:00
diagnostics build: upgrade jasmine (and related typings) to latest version (#19904) 2018-07-06 13:48:02 -07:00
metadata fix(compiler-cli): Use typescript to resolve modules for metadata (#22856) 2018-07-10 11:11:48 -07:00
ngcc feat(ivy): ngcc project skeleton (#24897) 2018-07-27 17:15:31 -07:00
ngtsc fix(ivy): correctly write cross-file references (#25080) 2018-07-26 16:38:09 -07:00
transformers build(bazel): use bazel managed node_modules for downstream angular from source build support (#24663) 2018-07-26 17:02:21 -07:00
BUILD.bazel feat(compiler): add "original" placeholder value on extracted XMB (#25079) 2018-07-30 16:49:00 -07:00
extract_i18n_spec.ts feat(compiler): add "original" placeholder value on extracted XMB (#25079) 2018-07-30 16:49:00 -07:00
mocks.ts fix(compiler-cli): Use typescript to resolve modules for metadata (#22856) 2018-07-10 11:11:48 -07:00
ngc_spec.ts build: upgrade jasmine (and related typings) to latest version (#19904) 2018-07-06 13:48:02 -07:00
ngtools_api_spec.ts ci(compiler-cli): run compiler-cli tests in bazel (#22997) 2018-03-28 10:02:53 -07:00
perform_watch_spec.ts build: upgrade to TypeScript 2.6 (#21144) 2017-12-22 20:15:47 -08:00
test_support.ts build(bazel): use bazel managed node_modules for downstream angular from source build support (#24663) 2018-07-26 17:02:21 -07:00