03fc7fe8c2
Previously, `uninitialized()` was a method, requiring a call as well as two extra characters everywhere it was used. Make this value a variable, saving the characters and avoiding the method call to get its value. This change also removes the export of `uninitialized` from change_detect.ts, which is technically a breaking change, however `uninitialized` is an implementation detail and nobody should be using it in app logic. By convention, apps should not be importing from files under `src/`. Update to #3248. |
||
---|---|---|
.. | ||
docs | ||
src | ||
test | ||
README.dart.md | ||
README.js.md | ||
angular2.dart | ||
angular2.ts | ||
angular2_exports.ts | ||
angular2_sfx.dart | ||
angular2_sfx.ts | ||
annotations.ts | ||
bootstrap.ts | ||
bootstrap_static.dart | ||
change_detection.ts | ||
core.ts | ||
debug.ts | ||
di.ts | ||
di_errors.ts | ||
di_metadata.ts | ||
di_transformer.dart | ||
directives.ts | ||
forms.ts | ||
globals.d.ts | ||
http.ts | ||
mock.ts | ||
package.json | ||
pipes.ts | ||
pubspec.yaml | ||
render.ts | ||
router.ts | ||
test.ts | ||
test_lib.ts | ||
traceur-runtime.d.ts | ||
transformer.dart | ||
tsconfig.json | ||
tsd.json | ||
view.ts |
README.js.md
Angular2
The sources for this package are in the main Angular2 repo. Please file issues and pull requests against that repo. This is the repository for the upcoming 2.0 version. If you're looking for the current official version of Angular you should go to angular/angular.js
This package contains different sources for different users:
- The files located in the root folder can be consumed using CommonJS.
- The files under
/es6
are es6 compatible files that can be transpiled to es5 using any transpiler. This contains:dev/
: a development version that includes runtime type assertionsprod/
: a production version that does not include runtime type assertions
- The files under
/ts
are the TypeScript source files.
As a convenience, we provide you with /es6/{dev|prod}/es5build.js
, a script to transpile the es6 sources into es5
using Google Traceur.
License: Apache MIT 2.0