angular-docs-cn/packages/elements/src
Vikram Subramanian d4b8b24406 fix(elements): prevent closure renaming of platform properties (#23843)
Closure compiler with type based optimizations has a bug where externs for inherited static fields are not being honored. For Angular Elements this meant that 'observedAttributes' static field which is marked as an extern for the base HTMLElement class was getting renamed.

This commit works around the bug by using quoted access of 'observedAttributes' that explicitly prevents the renaming.

PR Close #23843
2018-05-11 18:11:48 -04:00
..
component-factory-strategy.ts feat(core): upgrade rxjs to 6.0.0-alpha.4 (#22573) 2018-03-19 21:51:51 -07:00
create-custom-element.ts fix(elements): prevent closure renaming of platform properties (#23843) 2018-05-11 18:11:48 -04:00
element-strategy.ts feat(core): upgrade rxjs to 6.0.0-alpha.4 (#22573) 2018-03-19 21:51:51 -07:00
extract-projectable-nodes.ts feat(elements): add support for creating custom elements (#22413) 2018-03-16 12:39:07 -07:00
utils.ts fix(elements): avoid exception when window is undefined (#23324) 2018-04-11 23:17:04 -07:00
version.ts feat(elements): George's comments (#22413) 2018-03-16 12:39:07 -07:00