angular-docs-cn/packages/core/test
Miško Hevery cac130eff9 perf(core): Remove decorator DSL which depends on Reflect
BREAKING CHANGE

It is no longer possible to declare classes in this format.

```
Component({...}).
Class({
  constructor: function() {...}
})
```

This format would only work with JIT and with ES5. This mode doesn’t
allow build tools like Webpack to process and optimize the code, which
results in prohibitively large bundles. We are removing this API
because we are trying to ensure that everyone is on the fast path by
default, and it is not possible to get on the fast path using the ES5
DSL. The replacement is to use TypeScript and `@Decorator` format.

```
@Component({...})
class {
  constructor() {...}
}
```
2017-08-11 09:27:07 -07:00
..
animation test(animations): disable buggy test in Chrome 39 (#18483) 2017-08-09 14:15:40 -07:00
change_detection perf: switch angular to use StaticInjector instead of ReflectiveInjector 2017-08-07 15:42:34 -07:00
debug fix(core): Update types for TypeScript nullability support (#15472) 2017-03-29 09:34:45 -07:00
di feat(core): Create StaticInjector which does not depend on Reflect polyfill. 2017-08-07 15:40:15 -07:00
dom fix(core): Update types for TypeScript nullability support (#15472) 2017-03-29 09:34:45 -07:00
linker fix(core): forbid destroyed views to be inserted or moved in VC (#18568) 2017-08-09 14:11:51 -07:00
metadata perf(core): Remove decorator DSL which depends on Reflect 2017-08-11 09:27:07 -07:00
reflection fix(core): make decorators closure safe (#16905) 2017-05-23 11:52:40 -06:00
testability perf(core): refactor NgZone, decrease size by 1.2Kb (#17773) 2017-07-01 10:29:56 -07:00
util perf(core): Remove decorator DSL which depends on Reflect 2017-08-11 09:27:07 -07:00
view perf: switch angular to use StaticInjector instead of ReflectiveInjector 2017-08-07 15:42:34 -07:00
zone perf(core): use native addEventListener for faster rendering. (#18107) 2017-07-25 15:35:44 -05:00
application_init_spec.ts build: enable TSLint on the packages folder 2017-07-31 15:47:57 -07:00
application_module_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
application_ref_spec.ts fix(core): invoke error handler outside of the Angular Zone (#18269) 2017-07-21 16:35:23 -05:00
component_fixture_spec.ts refactor(animations): make animation testing work with fixture.whenRenderingDone 2017-05-16 17:39:57 -07:00
dev_mode_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
directive_lifecycle_integration_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
error_handler_spec.ts fix(core): ErrorHandler should not rethrow an error by default (#15077) (#15208) 2017-03-16 12:58:41 -07:00
event_emitter_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
fake_async_spec.ts feat(core): update zone.js to 0.8.10 and expose the flush method (#16860) 2017-05-22 12:19:21 -06:00
forward_ref_integration_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
spies.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
testing_internal_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
util_spec.ts fix(core): Update types for TypeScript nullability support (#15472) 2017-03-29 09:34:45 -07:00