angular-cn/modules/angular2
Tobias Bosch 24bc4b66d0 fix(render): don’t store a document fragment as bound element
When a template contains bound text nodes as root nodes,
we used to store the document fragment that we got from
cloning `template.content`. However, this fragment will be
empty as soon as the view gets attached. Now we store
`null` instead of the document fragment in this case.

Also groups the 3 cases in `_createView` so they are easier to
understand.
2015-05-29 11:33:23 -07:00
..
docs feat(Directive): convert properties to an array 2015-05-29 11:44:43 +02:00
src fix(render): don’t store a document fragment as bound element 2015-05-29 11:33:23 -07:00
test feat(view): add `AppViewListener` interface 2015-05-29 11:33:22 -07:00
README.dart.md
README.js.md
angular2.ts
angular2_sfx.dart style(dart): Format Dart source with dart_style 0.1.8 2015-05-29 10:42:47 -07:00
angular2_sfx.es6
annotations.ts
change_detection.ts
core.ts refactor(core.js): export NgZone 2015-05-29 17:58:32 +02:00
di.ts
di_annotations.ts
di_errors.ts
directives.ts
forms.ts
globals.d.ts
package.json fix(package.json): add `reflect-metadata` to package.json 2015-05-27 10:32:38 -07:00
pipes.ts
pubspec.yaml
render.ts
router.js feat(router.js): export router injectables 2015-05-29 17:56:00 +02:00
test.ts
test_lib.ts
traceur-runtime.d.ts
transformer.dart
tsconfig.json
tsd.json
view.js

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:

  1. The files located in the root folder can be consumed using CommonJS
  2. 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 assertions
    • prod/: a production version that does not include runtime type assertions
  3. The files under /atscript are the AtScript 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