Joao Dias
3d9d839c6c
refactor(playground): make playground great again
2016-11-10 12:07:51 -08:00
Igor Minar
d21331e902
fix(ngUpgrade): to work with @NgModule
...
We changed the bootstrap order:
1. create NgZone
2. bootstrap ng1 inside NgZone and upgrade ng1 components to ng2 components.
3. bootstrap ng2 with NgZone
Note: Previous footgun behavior was: bootstrap ng2 first to extract NgZone, so that ng1 bootstrap can happen in NgZone. This meant that if ng2 bootstrap eagerly compiled a component which contained ng1 components, then we did not have complete metadata.
2016-08-08 12:50:08 -07:00
Igor Minar
37f138e83d
test(ngUpgrade): convert the upgrade example to use NgModules
...
The example worked even before this change - verifying that the fallback/legacy mode works as well.
2016-08-08 12:20:22 -07:00
Jason Choi
6baf3baedd
chore(playground): clang-format
2016-08-05 12:26:28 -07:00
Victor Berchet
b652a7fc9f
chore: remove obsolete files ( #10240 )
2016-07-22 16:18:31 -07:00
ScottSWu
ae75e3640a
chore(lint): Added license headers to most TypeScript files
...
Relates to #9380
2016-06-23 09:47:54 -07:00
Igor Minar
8c076d5a73
fix(upgrade): fix bundling issue and fix e2e test
...
the previous demo app was broken and is missing an e2e test.
I fixed the app, but was not able to get protractor to properly test
this app. Julie and I are looking into that. For now I manually verified
that the app works and that the original issue was fixed.
Closes #9244
2016-06-21 11:12:42 -07:00
ScottSWu
86fbd50c3d
refactor(TypeScript): Add noImplicitAny
...
We automatically insert explicit 'any's where needed. These need to be
addressed as in #9100 .
Fixes #4924
2016-06-08 16:20:50 -07:00
Igor Minar
2e1f3f003d
build: adding basic e2e testing infrastructure
2016-05-02 08:15:10 -07:00
Igor Minar
a66cdb469f
repackaging: all the repackaging changes squashed
2016-05-01 20:51:00 -07:00
Alex Rickabaugh
60727c4d2b
revert(format): Revert "chore(format): update to latest formatter"
...
This reverts commit 03627aa84d
.
2016-04-12 09:41:01 -07:00
Alex Eagle
03627aa84d
chore(format): update to latest formatter
...
Closes #7958
2016-04-11 22:15:23 +00:00
Pawel Kozlowski
8d3e5596dc
refactor(playground): remove imports from 'angular2/angular2'
...
Part of #5710
Closes #5798
2015-12-10 21:46:51 +00: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
Rob Wormald
3fa287aae2
refactor(EventEmitter): rename .next() to .emit()
...
BREAKING CHANGE:
EventEmitter#next(value) is deprecated, use EventEmitter#emit(value)
instead.
Closes #4287
Closes #5302
2015-11-18 22:16:40 +00:00
Misko Hevery
1b78342e23
chore(ngUpgrade): Move into Angular2
...
This is moving ngUpgrade into the main repository per #4838 .
The ngUpgrade is published from the main import consistent with
https://docs.google.com/document/d/1rbVTKTYLz6p2smQNYI8h4-QN-m2PS6F3iQIDmSzn0Ww/edit#heading=h.6cxvr9awtf5r
Closes #4931
2015-10-31 20:48:27 -07:00
Misko Hevery
9d0d33f95a
feat(ngUpgrade): simple example
2015-10-19 12:43:28 -07:00