angular-docs-cn/modules
Meligy aeed7373af fix(compiler-cli): avoid handling functions in loadChildren as lazy load routes paths
The change avoids the compiler CLI internal API from mismatching the following case as lazy loading

```
import { NonLazyLoadedModule } from './non-lazy-loaded/non-lazy-loaded.module';

export function getNonLazyLoadedModule() { return NonLazyLoadedModule; }

export const routes = [
{ path: '/some-path', loadChildren: getNonLazyLoadedModule }
];
```

The output of the check is later passed to `RouteDef.fromString()`, so, it makes sense to be only a string.

Fixes angular/angular-cli#3204
2017-01-10 14:31:45 -05:00
..
@angular fix(compiler-cli): avoid handling functions in loadChildren as lazy load routes paths 2017-01-10 14:31:45 -05:00
angular1_router refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
benchmarks refactor(compiler): generate less code for bindings to DOM elements 2017-01-03 13:05:05 -08:00
benchmarks_external refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
e2e_util feat(benchmarks): add `detectChanges` test for ng2 tree benchmark 2017-01-03 13:05:05 -08:00
payload_tests/hello_world/ts style: add missing copyright headers 2016-10-31 14:25:53 -07:00
playground chore(tslint): update tslint to 4.x (#13603) 2016-12-27 14:55:58 -08:00
rollup-test feat: update RxJS peer dependency to 5.0.0-rc.4 2016-11-29 16:27:33 -08:00
empty.ts chore(tslint): update tslint to 4.x (#13603) 2016-12-27 14:55:58 -08:00
es6-subset.d.ts chore(typings): restrict Angular to es5+collections+promise 2016-06-27 13:58:59 -07:00
system.d.ts fix(build): Remove duplicate System declarations (#10713) 2016-08-11 19:37:01 -07:00
tsconfig.json feat(language-service): add services to support editors (#12987) 2016-11-22 09:10:23 -08:00
types.d.ts build(examples): upgrade to protractor 4.0.9 (#12803) 2016-11-10 18:13:11 -08:00