angular-cn/modules/angular2
Tobias Bosch f9908cd436 feat(test): add element probe
Usage: bootstrap the app with the special binding
`ELEMENT_PROBE_CONFIG` from `angular2/debug`.
This will provide a global method `ngProbe(element)` that
will expose a `DebugElement` with directive instances, ... on it.

During tests that use Angular's test injector, the probe is
enabled by default. The `DebugElement ` can be retrieved via the
function `inspectDomElement` of `angular2/debug`. Note
that the `TestComponentBuilder` already returns `DebugElement `s.

Closes #1992
2015-05-29 12:44:21 -07:00
..
docs feat(Directive): convert properties to an array 2015-05-29 11:44:43 +02:00
src feat(test): add element probe 2015-05-29 12:44:21 -07:00
test feat(test): add element probe 2015-05-29 12:44:21 -07:00
README.dart.md feat(publish): update files to publish to npm 2015-02-24 16:53:44 -08:00
README.js.md feat(publish): update files to publish to npm 2015-02-24 16:53:44 -08:00
angular2.ts refactor(ts'ify): ts’ify mocks, directives and test_lib 2015-05-21 15:33:37 -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.es6 refactor(ts'ify): ts’ify mocks, directives and test_lib 2015-05-21 15:33:37 -07:00
annotations.ts refactor(ts'ify): ts’ify mocks, directives and test_lib 2015-05-21 15:33:37 -07:00
change_detection.ts chore(build): don’t include `export var __esModule = true` in every file 2015-05-19 15:12:59 -07:00
core.ts refactor(core.js): export NgZone 2015-05-29 17:58:32 +02:00
debug.ts feat(test): add element probe 2015-05-29 12:44:21 -07:00
di.ts docs(di): fix missing export for dgeni docgen 2015-05-22 21:47:34 -07:00
di_annotations.ts refactor(ts'ify): ts’ify mocks, directives and test_lib 2015-05-21 15:33:37 -07:00
di_errors.ts refactor(ts'ify): ts’ify mocks, directives and test_lib 2015-05-21 15:33:37 -07:00
directives.ts refactor(ts'ify): ts’ify mocks, directives and test_lib 2015-05-21 15:33:37 -07:00
forms.ts feat(forms): migrated forms to typescript 2015-05-21 13:55:15 -07:00
globals.d.ts refactor(ts'ify): ts’ify mocks, directives and test_lib 2015-05-21 15:33:37 -07:00
package.json fix(package.json): add `reflect-metadata` to package.json 2015-05-27 10:32:38 -07:00
pipes.ts refactor(ts'ify): ts’ify mocks, directives and test_lib 2015-05-21 15:33:37 -07:00
pubspec.yaml chore: support the latest release of Dart logging package 2015-05-26 13:51:54 -07:00
render.ts feat(render): re-export render and export `DirectiveResolver` 2015-05-22 17:38:00 -07:00
router.js feat(router.js): export router injectables 2015-05-29 17:56:00 +02:00
test.ts refactor(ts'ify): ts’ify mocks, directives and test_lib 2015-05-21 15:33:37 -07:00
test_lib.ts feat(test): add element probe 2015-05-29 12:44:21 -07:00
traceur-runtime.d.ts refactor(core): ts’ify core 2015-05-20 16:30:41 -07:00
transformer.dart feat(dart/transformer:: Initial commit of ctor stubs & annotation register 2015-02-17 16:34:19 -08:00
tsconfig.json chore(build): add tsconfig.json to modules/angular2 2015-05-19 15:12:58 -07:00
tsd.json refactor(ts'ify): ts’ify mocks, directives and test_lib 2015-05-21 15:33:37 -07:00
view.js docs(di): Edits to DI. 2015-04-17 17:49:12 +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 /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