angular-cn/modules/angular2
Tobias Bosch b1df54501a feat(compiler): attach components and project light dom during compilation.
Closes #2529

BREAKING CHANGES:
- shadow dom emulation no longer
  supports the `<content>` tag. Use the new `<ng-content>` instead
  (works with all shadow dom strategies).
- removed `DomRenderer.setViewRootNodes` and `AppViewManager.getComponentView`
  -> use `DomRenderer.getNativeElementSync(elementRef)` and change shadow dom directly
- the `Renderer` interface has changed:
  * `createView` now also has to support sub views
  * the notion of a container has been removed. Instead, the renderer has
    to implement methods to attach views next to elements or other views.
  * a RenderView now contains multiple RenderFragments. Fragments
    are used to move DOM nodes around.

Internal changes / design changes:
- Introduce notion of view fragments on render side
- DomProtoViews and DomViews on render side are merged,
  AppProtoViews are not merged, AppViews are partially merged
  (they share arrays with the other merged AppViews but we keep
  individual AppView instances for now).
- DomProtoViews always have a `<template>` element as root
  * needed for storing subviews
  * we have less chunks of DOM to clone now
- remove fake ElementBinder / Bound element for root text bindings
  and model them explicitly. This removes a lot of special cases we had!
- AppView shares data with nested component views
- some methods in AppViewManager (create, hydrate, dehydrate) are iterative now
  * now possible as we have all child AppViews / ElementRefs already in an array!
2015-07-15 20:23:27 -07:00
..
docs feat(compiler): attach components and project light dom during compilation. 2015-07-15 20:23:27 -07:00
src feat(compiler): attach components and project light dom during compilation. 2015-07-15 20:23:27 -07:00
test feat(compiler): attach components and project light dom during compilation. 2015-07-15 20:23: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.ts feat(compiler): attach components and project light dom during compilation. 2015-07-15 20:23:27 -07: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 refactor: export angular as ‘ng’ in SFX 2015-07-07 20:04:13 -07:00
annotations.ts refactor(LifecycleEvent): change from onInit to Lifecycle.onInit 2015-07-14 16:51:44 -07:00
change_detection.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
core.ts chore(query): refactor QueryList and BaseQueryList. 2015-07-15 15:49:52 -07:00
debug.ts refactor(render): cleanup access to native dom elements 2015-06-23 17:27:59 -07:00
di.ts fix(di): removed default visibility 2015-07-13 16:00:07 -07:00
di_errors.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
di_metadata.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
di_transformer.dart feat(transformers): expose DI transformer for use by packages 2015-07-14 16:59:03 -07:00
directives.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
forms.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
globals.d.ts chore: add some FIXMEs to globals.d.ts. 2015-06-17 16:21:54 -07:00
http.ts feat(http): add support for JSONP requests 2015-07-14 21:31:05 -04:00
mock.ts refactor(TemplateResolver): rename to ViewResolver 2015-06-24 18:40:04 +02:00
package.json chore(npm): correct generated package json files. 2015-06-29 10:30:00 -07:00
pipes.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
pubspec.yaml feat(change_detection): added support for ObservableList from package:observe 2015-07-15 17:06:42 -07:00
render.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
router.ts fix(router): export lifecycle hooks in bundle 2015-07-13 17:03:42 -07:00
test.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
test_lib.ts feat(test): add test bundle 2015-07-09 18:07:48 -07:00
traceur-runtime.d.ts feat: remove MapWrapper.create()/get()/set(). 2015-06-18 14:55:12 -07:00
transformer.dart feat(dart/transformer:: Initial commit of ctor stubs & annotation register 2015-02-17 16:34:19 -08:00
tsconfig.json fix(tsconfig): target should be lower case 2015-07-08 16:07:25 -07:00
tsd.json fix(build): Reduce rx typings to what we actually require. 2015-06-29 16:59:04 -07:00
view.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01: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