Jeff Cross
693d9dce5d
fix(parse5): support comment nodes with getText and setText
...
In the browser, calling element.textContent causes child comment
nodes to be ignored, while getting textContent directly on a
comment node will return the comment. This change makes
parse5Adapter consistent with this behavior by adding a 2nd
argument to getText telling if it's being called recursively.
Closes #5805
2015-12-10 19:18:14 +00:00
Jeff Cross
194dc7da78
feat(renderer): use a comment instead of an element when stamping out template>` elements
...
Originally authored by @tbosch, this reverts the revert commit
e274ff8a69 .
Closes #4805
2015-12-10 19:18:14 +00:00
Jeff Cross
79399e1c51
feat(dom_renderer): add setBindingDebugInfo method
...
This is used for setting property binding values as attributes
on elements when running in dev mode. This implementation will
also serialize binding information to template placeholder
comment nodes.
Closes #5227
2015-12-10 19:18:14 +00:00
Olivier Chafik
fe1dd77d94
feat(benchpress): add receivedData + requestCount to PerflogMetric
...
Closes #5750
2015-12-10 18:51:47 +00:00
Pawel Kozlowski
24dcd267b8
refactor(gulpfile.js): cleanup obsolete file reference
...
Closes #5738
2015-12-10 18:16:50 +00:00
Igor Minar
cf3ce171a5
docs(kebab-case.md): more fixes and CSS migration instructions
...
Closes #5773
2015-12-10 04:18:17 -08:00
Jesús Rodríguez Rodríguez
06d076a6f2
docs(kebab-case): fix typo on property
...
Closes #5783
2015-12-10 03:42:43 -08:00
Daniel
3190c5941a
fix(changelog): fix ngFor on template
...
Closes #5785
2015-12-10 03:41:00 -08:00
Igor Minar
30e25acb9f
fix(core): workaround for [email protected] breakage #5784
...
I don't understand why I need to declare the type-here, but it resolves the issue.
Looks like a bug in tsc.
Fixes #5784
2015-12-10 03:30:16 -08:00
Ward Bell
4975cb92ae
docs(changelog): add link back to A2 package.json
...
Closes #5779
2015-12-10 02:28:41 -08:00
Igor Minar
c8d6ad2718
chore(release): cut alpha.52 - the new beginning
2.0.0-alpha.52
2015-12-10 00:48:32 -08:00
Igor Minar
cde6726e25
docs(changelog): add changelog for alpha.52
2015-12-10 00:48:32 -08:00
Igor Minar
b3d10af89a
docs(kebab-case.md): fix indentation, add links and other small changes
2015-12-10 00:48:32 -08:00
Igor Minar
4724cc664e
docs(kebab-case.md): add link to the design doc
2015-12-10 00:18:08 -08:00
Igor Minar
4e16feaf72
docs(changelog): add breaking change note about peerDependencies
...
Closes #5747
2015-12-09 22:10:12 -08:00
Victor Berchet
9e44dd85ad
feat(camelCase Angular): legacy template transformer
2015-12-09 19:59:40 -08:00
Victor Berchet
da9b46a071
feat: camelCase Angular (kebab-case removal)
...
BREAKING CHANGE:
Angular is now fully camel case.
Before:
<p *ng-if="cond">
<my-cmp [my-prop]="exp">
<my-cmp (my-event)="action()">
<my-cmp [(my-prop)]="prop">
<input #my-input>
<template ng-for #my-item [ng-for-of]=items #my-index="index">
After
<p *ngIf="cond">
<my-cmp [myProp]="exp">
<my-cmp (myEvent)="action()">
<my-cmp [(myProp)]="prop">
<input #myInput>`,
<template ngFor="#my-item" [ngForOf]=items #myIndex="index">
The full details are found in [angular2/docs/migration/kebab-case.md](https://github.com/angular/angular/blob/master/modules/angular2/docs/migration/kebab-case.md )
2015-12-09 19:59:40 -08:00
Victor Berchet
b386d1134a
doc(camelCase Angular): migration guide
2015-12-09 19:59:40 -08:00
Igor Minar
1e740581ee
build(npm_publish.sh): run gulp via node --max-old-space-size=1900 to workaround #5229
2015-12-09 19:51:10 -08:00
Igor Minar
f1741b10f2
docs(changelog): release notes for 2.0.0-alpha.51
2.0.0-alpha.51
2015-12-09 19:28:52 -08:00
Igor Minar
7bce1477ef
chore(release): cut alpha.52 - the last release of Angular as we know it
2015-12-09 19:20:20 -08:00
Igor Minar
01ba94ba56
build(npm): update to [email protected]
...
resolves regression in 0.7.16
Closes #5758
2015-12-10 01:32:45 +00:00
Igor Minar
51cb7586e0
build(npm): update to [email protected] + fix broccoli-typescript + fix src
2015-12-10 01:32:44 +00:00
Igor Minar
796eee1e6f
build(npm): update to [email protected]
2015-12-10 01:32:44 +00:00
Igor Minar
c39828f0f2
build(npm): bump ts2dart to 0.7.16
2015-12-10 01:32:44 +00:00
Matias Niemelä
28860d35b2
feat(core): provide support for relative assets for components
...
Assets defined for `templateUrl` and `styleUrls` can now be loaded
in relative to where the component file is placed so long as the
`moduleId` is set within the component annotation.
Closes #5634
2015-12-09 16:28:49 -08:00
Matias Niemelä
5f0ce30ee6
revert: feat(core): provide support for relative assets for components
2015-12-09 16:26:42 -08:00
Kathy Walrath
f4d937ad8d
docs(cheatsheet): add Dart-specific syntax & headings
...
Closes #5756
2015-12-09 23:05:23 +00:00
Matias Niemelä
db096a5e22
feat(core): provide support for relative assets for components
...
Assets defined for `templateUrl` and `styleUrls` can now be loaded
in relative to where the component file is placed so long as the
`moduleId` is set within the component annotation.
Closes #5634
Closes #5634
2015-12-09 22:04:00 +00:00
Dmitriy Shekhovtsov
bf484b19b3
chore(changelog): fix formatting for alpha.49
...
Closes #5732
2015-12-09 21:30:30 +00:00