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
Brian Ford
f9fb72fb0e
chore(core): remove @View annotation
...
Closes #7495
2016-03-14 23:26:20 +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
Julie Ralph
e9f873a365
feat(testing): export useful properties from componentFixture
...
The component fixture returned from the test component builder
now exports `nativeElement` and `componentInstance` members
directly. They are also still available on the `debugElement`.
See #5385
2015-12-02 16:05:01 -08:00
Jesper Rønn-Jensen
070d818e68
refactor(tests): rename beforeEachBindings -> beforeEachProviders
...
Change beforeEachBindings to beforeEachProviders but preserve the
@deprecated method beforeEachBindings, in order to keep a working
deprecation warning
2015-12-02 14:09:13 -08:00
vsavkin
5ba9ced1ab
cleanup(core): stop reexporting angular2/common from angular2/core
...
All common directives, forms, and pipes have been moved out of angular2/core,
but we kept reexporting them to make transition easier.
This commit removes the reexports.
BREAKING CHANGE
Before
import {NgIf} from 'angular2/core';
After
import {NgIf} from 'angular2/common';
Closes #5362
2015-11-19 19:54:27 +00:00
Julie Ralph
686457890d
chore(test): rename RootTestComponent to ComponentFixture
...
BREAKING CHANGE:
Before:
```
testComponentBuilder.createAsync(MyComponent).then(root: RootTestComponent => {
}
```
After:
```
testComponentBuilder.createAsync(MyComponent).then(fixture: ComponentFixture => {
}
```
Closes #4711
2015-11-03 14:56:22 -08:00
Julie Ralph
f529236bfc
refactor(test): rename test_lib to testing
...
Old test_lib is now testing_internal
test_lib_public is now testing
2015-10-13 10:36:49 -07:00