Logo
Explore Help
Sign In
iSharkFly-Docs/angular-docs-cn
1
0
Fork 0
You've already forked angular-docs-cn
Code Issues Pull Requests Packages Projects Releases Wiki Activity
angular-docs-cn/modules/angular2/angular2.dart

9 lines
196 B
Dart
Raw Normal View History

feat(bootstrap): remove the need for explicit reflection setup in bootstrap code BREAKING CHANGES: Dart applications and TypeScript applications meant to transpile to Dart must now import `package:angular2/bootstrap.dart` instead of `package:angular2/angular2.dart` in their bootstrap code. `package:angular2/angular2.dart` no longer export the bootstrap function. The transformer rewrites imports of `bootstrap.dart` and calls to `bootstrap` to `bootstrap_static.dart` and `bootstrapStatic` respectively.
2015-07-22 10:18:04 -07:00
library angular2;
/**
* An all-in-one place to import Angular 2 stuff.
*
* This library does not include `bootstrap`. Import `bootstrap.dart` instead.
*/
refactor: export core APIs from angular2/core This change moves many APIs to the angular2/core export. This change also automatically adds FORM_BINDINGS in the application root injector. BREAKING CHANGE: Many dependencies that were previously exported from specific APIs are now exported from angular2/core. Affected exports, which should now be included from angular2/core include: angular2/forms angular2/di angular2/directives angular2/change_detection angular2/bootstrap (except for dart users) angular2/render angular2/metadata angular2/debug angular2/pipes Closes #3977
2015-09-03 22:01:36 -07:00
export 'package:angular2/core.dart';
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 41ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API