64770571b2
perf: don't create holey arrays ( #32155 )
...
Don't use `Array` constructor with the size value (ex. `new Array(5)`) - this will create a `HOLEY_ELEMENTS` array (even if this array is filled in later on!);
https://v8.dev/blog/elements-kinds
https://stackoverflow.com/questions/32054170/how-to-resize-an-array
PR Close #32155
2019-08-21 08:27:43 -07:00
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
8343fb7740
refactor: remove lang.ts ( #14837 )
2017-03-06 15:22:29 -08:00
eed83443b8
chore(tslint): update tslint to 4.x ( #13603 )
2016-12-27 14:55:58 -08:00
77ee27c59e
refactor(): use const and let instead of var
2016-11-12 16:40:17 -08:00
5494169fb4
style: make internal members accessibility explicit
2016-10-31 14:25:53 -07:00
5a3d7a62a2
style: merge imports from the same modules
2016-10-31 14:25:53 -07:00
52bf188b8f
style: add missing copyright headers
2016-10-31 14:25:53 -07:00
57051f01ce
refactor: remove most facades ( #12399 )
2016-10-21 15:14:44 -07:00
d972d82354
refactor: simplify isPresent(x) ? x : y
to x || y
( #12166 )
...
Closes #12166
2016-10-10 09:20:58 -07:00
8c975ed156
refactor(facade): inline StringWrapper ( #12051 )
2016-10-06 15:10:27 -07:00
decd129a4d
refactor(facade): remove DateWrapper ( #12027 )
2016-10-02 14:12:14 -07:00
b4363bc8af
feat(benchmarks): add targetable benchmarks back
2016-09-06 12:07:12 -07:00
eef4c22e87
feat(benchmarks): add static tree benchmark
2016-09-01 14:13:33 -07:00
c377e80670
chore: format benchmarks
...
closes #11112
2016-08-29 12:43:25 -07:00
61002733bc
refactor(benchmarks): make tree benchmark work again
2016-08-29 12:42:57 -07:00