angular-cn/modules/angular2
Tobias Bosch 76247b7097 refactor(compiler): use the new compiler everywhere
Closes #3605

BREAKING CHANGE:
- we don't mark an element as bound any more if it only contains text bindings
  E.g. <div>{{hello}}</div>
  This changes the indices when using `DebugElement.componentViewChildren` / `DebugElement.children`.
- `@Directive.compileChildren` was removed,
  `ng-non-bindable` is now builtin and not a directive any more
- angular no more adds the `ng-binding` class to elements with bindings
- directives are now ordered as they are listed in the View.directives regarding change detection.
  Previously they had an undefined order.
- the `Renderer` interface has new methods `createProtoView` and `registerComponentTemplate`. See `DomRenderer` for default implementations.
- reprojection with `ng-content` is now all or nothing per `ng-content` element
- angular2 transformer can't be used in tests that modify directive metadata.
  Use `angular2/src/transform/inliner_for_test` transformer instead.
2015-10-01 18:48:27 -07:00
..
docs chore(build): replace traceur-runtime with es6-shim. 2015-09-14 21:02:29 +00:00
examples docs(examples): add empty examples directory for api docs examples 2015-09-23 21:30:17 +00:00
manual_typings chore(typings): remove traceur-runtime.d.ts 2015-09-30 00:07:16 +00:00
src refactor(compiler): use the new compiler everywhere 2015-10-01 18:48:27 -07:00
test refactor(compiler): use the new compiler everywhere 2015-10-01 18:48:27 -07:00
web_worker refactor(compiler): use the new compiler everywhere 2015-10-01 18:48:27 -07:00
README.dart.md feat(publish): update files to publish to npm 2015-02-24 16:53:44 -08:00
README.js.md fix(npm): update scripts and readme for npm packages. 2015-06-09 11:39:08 -07:00
angular2.dart fix(api): align dart/js APIs 2015-09-22 23:11:40 +00:00
angular2.ts fix(api): remove animation from public API 2015-09-15 18:12:05 +00:00
angular2_sfx.dart style(dart): Format Dart source with dart_style 0.1.8 2015-05-29 10:42:47 -07:00
angular2_sfx.ts fix(sfx): Include ngHttp in SFX bundle 2015-09-18 09:07:31 -07:00
animate.ts feat(animate): adds basic support for CSS animations on enter and leave 2015-09-14 17:37:09 +00:00
bootstrap.ts refactor: export core APIs from angular2/core 2015-09-05 07:01:34 +00:00
bootstrap_static.dart refactor: export core APIs from angular2/core 2015-09-05 07:01:34 +00:00
core.dart fix(api): align dart/js APIs 2015-09-22 23:11:40 +00:00
core.ts fix(Typings): Remove public exports added in 1926335b85 2015-09-11 19:16:57 -07:00
http.ts docs(http): add docs and examples for JSONP_BINDINGS 2015-09-21 22:20:58 +00:00
lifecycle_hooks.ts refactor(Lifecycle hooks): move the hooks to their own module (lifecycle_hooks) 2015-09-05 01:02:33 +00:00
mock.ts chore: update all import paths 2015-08-25 15:33:23 -07:00
package.json refactor(async): replace RxJS with RxNext 2015-09-15 23:44:57 +00:00
profile.ts chore: update all import paths 2015-08-25 15:33:23 -07:00
pubspec.yaml refactor(transformer): precompile stylesheets 2015-10-01 18:48:27 -07:00
render.ts refactor: export core APIs from angular2/core 2015-09-05 07:01:34 +00:00
router.ts docs(router): improve documentation for router bindings 2015-09-23 00:47:15 +00:00
test.ts refactor: export core APIs from angular2/core 2015-09-05 07:01:34 +00:00
test_lib.ts fix(Typings): Remove public exports added in 1926335b85 2015-09-11 19:16:57 -07:00
tools.ts feat(perf): change detection profiler 2015-09-09 01:12:58 +00:00
tsconfig.json fix(tsconfig): target should be lower case 2015-07-08 16:07:25 -07:00
tsd.json chore(typings): remove traceur-runtime.d.ts 2015-09-30 00:07:16 +00:00

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 /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