26526 Commits

Author SHA1 Message Date
Alex Wolfe
8d2ae687bb fix url bug 2015-04-21 08:54:02 -07:00
Alex Wolfe
6acdbb7597 fixed numbering 2015-04-21 08:49:15 -07:00
Kevin Moore
f7f06c5ad4 chore: add more type annotations 2015-04-21 08:49:05 -07:00
Alex Wolfe
01a0745dfd Update to guide icons and landing page 2015-04-21 08:44:56 -07:00
Pawel Kozlowski
e23004df52 fix(di): capture original exception in InvalidBindingError
Fixes #1406

Closes #1459
2015-04-21 10:59:44 +02:00
Yegor Jbanov
fe70c2647a chore(packaging): bump version to 2.0.0-alpha.20 2015-04-20 17:53:29 -07:00
Tobias Bosch
ada1e642c5 feat(view): add imperative views 2015-04-20 17:18:44 -07:00
Julie Ralph
817c79ca77 refactor(testability): rename function to get testability
Previously, getting testability was `window.angular2.getTestability`
This was because the plan was to export the API to the window as
angular2. However, the decision was changed to make this just `angular`
in 3177576ad6

To decouple testability from the rest of the Angular API, just make it
one function, `window.getAngularTestability`.
2015-04-20 15:13:09 -07:00
vsavkin
a97a2266d3 feat(change_detection): added async pipe 2015-04-20 14:50:23 -07:00
vsavkin
8b3c808cb0 cleanup: remove an unused type 2015-04-20 14:24:16 -07:00
vsavkin
2d929e73ec cleanup(change_detection): moved pipes-related tests to the pipes dir 2015-04-20 14:24:15 -07:00
Alex Wolfe
79d0a5022e added updated api content 2015-04-20 13:57:43 -07:00
vsavkin
681d06386d feat(view): implemented loading component next to existing location 2015-04-20 13:41:10 -07:00
Tim Blasi
77b31ab42f feat(dart/transform): Add debug transform parameters
Add two transform parameters to aid in debugging the transformer
- `mirror_mode`, with values {`debug`, `none`, and `verbose`}
- `init_reflector`, with values {`true`, `false`}

`mirror_mode`:
- `debug`: Allow reflective access, but log a message if it is used
- `none`: Remove reflective access, `throw` if it is used. Default value
- `verbose`: Allow reflective access, log a stack trace if it is used

`init_reflector`: Whether to generate calls to our generated
`initReflector` code.

These will be useful to reveal areas where the transformer is not generating
appropriate code and to quickly see where reflective accesses occur.

When the pub mode is `transform_dynamic`, we run in MirrorMode.debug
with `init_reflector = false`. This is used for testing purposes.
2015-04-20 12:32:04 -07:00
Tim Blasi
5b4eb0c6d7 style(dart/transform): Format Dart files in reflection
Run the formatter on some Dart-specific reflection files.
2015-04-20 12:32:04 -07:00
Naomi Black
5c25248582 docs(x-ref links): Change links to use dgeni syntax
Closes #1440
2015-04-20 18:45:04 +00:00
Tobias Bosch
64ad74acbe fix(shadowdom): remove unused nodes on redistribute
Previously, light dom nodes that were not used by any content tag
were not removed from a view on redistribute. This lead
to a bug when reusing a view from the view pool, as it
still contained stale reprojected nodes.

Fixes #1416
2015-04-20 11:36:39 -07:00
Tobias Bosch
02997f473a fix(viewFactory): allow empty view cache 2015-04-20 11:36:39 -07:00
Tim Blasi
abda569b55 docs(dart/transform): Link to the Transform wiki page
Add a link to the Dart Transform wiki page to DEVELOPER.md
2015-04-20 10:14:24 -07:00
Misko Hevery
447018b54b docs: change primordial injector to platform injector 2015-04-20 16:45:23 +00:00
Marc Laval
0a200aff70 chore(doc-gen): fix atScript file reader test
Closes #1458
2015-04-20 17:43:46 +02:00
Marc Laval
883e1c1541 feat(events): support preventdefault
Fixes #1039
Closes #1397
2015-04-20 15:20:52 +02:00
Marc Laval
aabe83cf63 chore(build): run application tests in Node
Closes #1423
2015-04-20 14:45:18 +02:00
Naomi Black
1b3beb1a2e docs(making-components): First pass of this chapter 2015-04-20 02:29:59 -07:00
Naomi Black
14d6bb6847 Merge branch 'api-branch' of github.com:angular/angular.io into api-branch
Conflicts:
	public/docs/js/latest/guide/setup.jade
2015-04-19 18:22:04 -07:00
Naomi Black
e4df43dea1 docs(devguide): First pass through chapter 1 2015-04-19 18:19:28 -07:00
Naomi Black
5b5f1776f3 docs(devguide): First pass through chapter 1 2015-04-19 18:14:35 -07:00
Naomi Black
054d3655cb docs(devguide): more edits 2015-04-19 16:32:52 -07:00
Naomi Black
c8408a1f7f docs(user-input): finished first pass chapter 3 2015-04-19 16:04:22 -07:00
Alex Wolfe
3c9d095670 Merge branch 'api-branch' of https://github.com/angular/angular.io into api-branch 2015-04-19 15:22:46 -07:00
Alex Wolfe
95e60ce204 update to sidenav and ngbindable 2015-04-19 15:21:21 -07:00
Naomi Black
9133173bab docs(user-input): First 2 sections of this chapter. Alex to comment on my use of aside. 2015-04-19 15:12:29 -07:00
Naomi Black
ff146ceaa2 docs(displaying-data): Reworked the intro para styles. 2015-04-19 14:35:53 -07:00
Alex Wolfe
2f15f05325 side nav update 2015-04-19 14:26:53 -07:00
Alex Wolfe
94cc8e9005 First round of api docs 2015-04-19 13:53:18 -07:00
Alex Wolfe
3b72b71570 guide list 2015-04-19 10:30:06 -07:00
Alex Wolfe
313b3636d3 displaying data guide 2015-04-19 10:24:28 -07:00
Peter Bacon Darwin
fbd6851860 chore(doc-gen): add ids to members to allow direct linking
You can now write a link to a member of a class by appending the member name
to the class name joined by a hash sign:

```
{@link ControlGroupDirective#addDirective `addDirective`}
```

By default the link will contain the text of the class rather than the member
so you must add it as an inline code text snippet in the link tag.

Closes #1432
2015-04-18 22:06:49 +01:00
Naomi Black
8cf88739f3 first draft, code examples not working, for alex to review 2015-04-18 13:57:11 -07:00
Konstantin Shcheglov
d6dae0cc85 Tweak .gitignore file to ignore also packages symlinks. 2015-04-18 12:13:10 -07:00
Alex Wolfe
2f95c0d68d next step now auto generated 2015-04-18 09:30:29 -07:00
Alex Wolfe
9eef5a660a scaffolding for guide 2015-04-18 09:12:05 -07:00
Peter Bacon Darwin
376d508934 chore(doc-gen): read .es6 files as well as .js when generating docs
Closes #1429
2015-04-18 08:35:38 +01:00
Konstantin Shcheglov
a00cb1de50 feat(Compiler): Make Compiler.buildRenderDirective() static. 2015-04-17 21:57:25 -07:00
vsavkin
56f3429cc9 fix(view): chagned view factory to keep AstWithSource 2015-04-17 17:40:43 -07:00
vsavkin
4943c0f887 fix(view): fixed hydrator to pass the right element index when attaching an event listener 2015-04-17 17:27:12 -07:00
Alex Wolfe
1f950dc225 data change 2015-04-17 16:29:10 -07:00
Tim Blasi
00e2d70f05 refactor(dart/transform): Remove index_static from hello_world
index_static.js & index_static.html are unnecessary in Js and are now
essentially generated via the Dart transformer. The angular
transformer is specified in examples/pubspec.yaml; use pub build to
create a transformed application that does not use dart:mirrors.

Create index_dynamic.js & index_dynamic.html, which are used to test
that the app runs equally well with mirrors and without.

Closes #495
2015-04-17 16:11:48 -07:00
Yegor Jbanov
e52d71060f chore(analysis): fix analyzer warning in index_static 2015-04-17 14:01:42 -07:00
Yegor Jbanov
01869f9fa8 chore(format): format a TS file 2015-04-17 13:56:13 -07:00