Tim Blasi
648c514c28
feat(dart/transform): Add directiveMetadata{To,From}Map
...
Add utility methods to convert `render.dom.DirectiveMetadata` to and
from maps. This will allow saving and restoring `DirectiveMetadata` in
the Angular 2 Transformer.
We discussed adding this as a member on `DirectiveMetadata`. Since this
is not necessary for anything except the Transformer, we decided to put
it into a separate file to avoid shipping it with the Angular 2 core
code.
2015-04-29 14:22:08 -07:00
Alex Eagle
511e832ee2
chore(build): Karma watches broccoli output.
...
This is a prerequisite for switching to TypeScript. We need to remove the Traceur preprocessor
from Karma, so we have the build specified in a single place (broccoli tree def'n).
2015-04-29 14:15:45 -07:00
Tobias Bosch
09f8d8f7ba
refactor(core): introduce ViewRef and ProtoViewRef
...
BREAKING CHANGES:
- `NgElement` merged into `ElementRef`
- `Compiler.compile…` returns `ProtoViewRef`
- `ViewContainer` uses `ProtoViewRef`s and `ViewRef`s.
- `ViewRef`/`ProtoViewRef` in renderer were renamed to
`RenderViewRef`/`RenderProtoViewRef`.
Related to #1477
Closes #1592
2015-04-29 14:03:38 -07:00
Alex Eagle
1205f54d01
fix(build): use correct tsd command to get typings at requested versions
2015-04-29 11:43:28 -07:00
Alex Eagle
b5032fd374
fix(build): revert typescript upgrade which broke the build.
...
This reverts commit a7a9463624 .
This reverts commit 59824e40e8 .
2015-04-29 10:49:54 -07:00
Alex Eagle
a7a9463624
fix(build): refer to newest version of hammerjs typings
2015-04-29 10:13:30 -07:00
Alex Eagle
59824e40e8
chore(build): update TypeScript version to unreleased beta
...
Also fixup the typings which were broken by changes in typescript's lib.d.ts
2015-04-29 10:09:32 -07:00
Marc Laval
a51a5c2968
chore(build): run forms tests in Node
...
Closes #1565
2015-04-29 13:58:07 +02:00
vsavkin
e3c11045bf
fix(compiler): changed the compiler to set up event listeners and host properties on host view elements
...
Closes #1584
2015-04-29 05:27:45 +00:00
Yegor Jbanov
414e58edb5
chore(publishing): put malformed commit messages to "other"; do not output empty sections
...
Closes #1557
2015-04-29 04:10:12 +00:00
Yegor Jbanov
3bb3bff1f2
chore(packaging): copy changelog.js from angularjs
2015-04-29 04:10:12 +00:00
Pawel Kozlowski
d2d4e7d783
refactor(parser): remove unused variables
...
Closes #1553
2015-04-29 04:08:42 +00:00
Pawel Kozlowski
ee1b574baf
fix(di): improve error messages for invalid bindings
...
Fixes #1515
Closes #1573
2015-04-28 23:42:36 +00:00
Pawel Kozlowski
c0f3778dda
docs(For): fix example to use for-of syntax
...
Closes #1572
2015-04-28 23:42:24 +00:00
Matteo Suppo
d4925b61ff
fix(change_detector): ensure that locals are only used when implicit receiver
...
closes #1542
2015-04-28 23:40:22 +00:00
Alex Eagle
5b104936ae
chore(build): Add a tsconfig.json file, simply to allow Atom editor's Typescript plugin to
...
work without dropping tsconfig.json files and generated .js files in the
source directory.
Closes #1538
2015-04-28 23:39:39 +00:00
Josh Kurz
14988d4415
docs(core): updating some errors in 01_templates
...
Signed-off-by: Josh Kurz <[email protected] >
Closes #1529
2015-04-28 23:39:20 +00:00
Josh Kurz
cd953ceb48
docs(core): update core directives document
...
Signed-off-by: Josh Kurz <[email protected] >
2015-04-28 23:39:20 +00:00
Tim Blasi
726fecbfb6
feat(dart/transform): Turn on transform for examples/todo
...
- Tag services with `@Injectable()`
- Update `pubspec.yaml` to transform examples/todo.
Closes #1527
2015-04-28 23:38:08 +00:00
vsavkin
818bb9b697
test: changed test bed to run change detection twice to make sure there are no changes second time
...
Closes #1517
2015-04-28 23:37:09 +00:00
vsavkin
e4586249fa
refactor(change_detection): removed NO_CHANGED and replaced it with WrappedValue
2015-04-28 23:37:09 +00:00
Alex Eagle
4c1e978536
cleanup(build): remove traceur-based Dart transpiler
2015-04-28 16:25:10 -07:00
Matthew Hill
3d62546314
fix(compiler): only sets viewDefinition absUrl if the view has either a template or templateUrl
...
fixes #1326
closes #1327
2015-04-28 15:40:07 -07:00
Jeremy Elbourn
b9eab463f7
chore(): fix host properties for MD components.
2015-04-28 10:48:03 -07:00
Anthony Zotti
dff4795e49
docs(README): update for linguistic consistency
...
Closes #1537
2015-04-28 19:06:02 +02:00
PatrickJS
ab74e1ed4e
docs(CHANGELOG.md): fix correct links to angular2
...
Closes #1577
2015-04-28 19:03:09 +02:00
Peter Bacon Darwin
902984cc10
chore(doc-gen): only generate angular.io module and _data docs for public modules
2015-04-28 14:54:47 +01:00
Peter Bacon Darwin
ce431f279e
chore(doc-gen): don't show private class members in jade templates
...
Closes #1366
2015-04-28 14:47:38 +01:00
Peter Bacon Darwin
7fb2f2069c
docs(Injector): remove unwanted tab characters in the examples
...
These mess up the jade templates that use tabs for structuring the output.
2015-04-28 14:31:35 +01:00
Alex Wolfe
c269bd5d3c
chore(doc-gen): generate docs for angular.io
...
You can generate docs for comsumption by the angular.io website by running:
```bash
gulp docs/angular.io
```
The generated docs can be found in `dist/angular.io`
2015-04-28 14:31:34 +01:00