refactor(ViewEncapsulation): rename to PascalCase
BREAKING CHANGE - ViewEncapsulation.EMULATED => ViewEncapsulation.Emulated - ViewEncapsulation.NATIVE => ViewEncapsulation.Native - ViewEncapsulation.NONE => ViewEncapsulation.None Closes #3889
This commit is contained in:

committed by
Miško Hevery

parent
e916836261
commit
c349bbbc08
@ -10,7 +10,7 @@ import {bind} from 'angular2/di';
|
||||
@View({
|
||||
templateUrl: './demo_app.html',
|
||||
directives: [MdButton, MdAnchor, NgFor],
|
||||
encapsulation: ViewEncapsulation.NONE
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
class DemoApp {
|
||||
previousClick: string;
|
||||
|
@ -10,7 +10,7 @@ import {bind} from 'angular2/di';
|
||||
@View({
|
||||
templateUrl: './demo_app.html',
|
||||
directives: [MdCheckbox],
|
||||
encapsulation: ViewEncapsulation.NONE
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
class DemoApp {
|
||||
toggleCount: number;
|
||||
|
@ -24,7 +24,7 @@ import {isPresent} from 'angular2/src/core/facade/lang';
|
||||
@View({
|
||||
templateUrl: './demo_app.html',
|
||||
directives: [],
|
||||
encapsulation: ViewEncapsulation.NONE,
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
})
|
||||
class DemoApp {
|
||||
dialog: MdDialog;
|
||||
@ -70,7 +70,7 @@ class DemoApp {
|
||||
properties: ['numCoconuts'],
|
||||
})
|
||||
@View({
|
||||
encapsulation: ViewEncapsulation.NONE,
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
template: `
|
||||
<h2>This is the dialog content</h2>
|
||||
<p>There are {{numCoconuts}} coconuts.</p>
|
||||
|
@ -10,7 +10,7 @@ import {bind} from 'angular2/di';
|
||||
@View({
|
||||
templateUrl: './demo_app.html',
|
||||
directives: [MdGridList, MdGridTile],
|
||||
encapsulation: ViewEncapsulation.NONE,
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
})
|
||||
class DemoApp {
|
||||
tile3RowSpan: number;
|
||||
|
@ -8,7 +8,7 @@ import {bind} from 'angular2/di';
|
||||
@View({
|
||||
templateUrl: './demo_app.html',
|
||||
directives: [MdInputContainer, MdInput],
|
||||
encapsulation: ViewEncapsulation.NONE
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
class DemoApp {
|
||||
constructor() {}
|
||||
|
@ -10,7 +10,7 @@ import {bind} from 'angular2/di';
|
||||
@View({
|
||||
templateUrl: './demo_app.html',
|
||||
directives: [MdProgressLinear],
|
||||
encapsulation: ViewEncapsulation.NONE,
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
})
|
||||
class DemoApp {
|
||||
progress: number;
|
||||
|
@ -12,7 +12,7 @@ import {bind} from 'angular2/di';
|
||||
@View({
|
||||
templateUrl: './demo_app.html',
|
||||
directives: [MdRadioGroup, MdRadioButton],
|
||||
encapsulation: ViewEncapsulation.NONE,
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
})
|
||||
class DemoApp {
|
||||
thirdValue;
|
||||
|
@ -10,7 +10,7 @@ import {bind} from 'angular2/di';
|
||||
@View({
|
||||
templateUrl: './demo_app.html',
|
||||
directives: [MdSwitch],
|
||||
encapsulation: ViewEncapsulation.NONE,
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
})
|
||||
class DemoApp {
|
||||
toggleCount: number;
|
||||
|
Reference in New Issue
Block a user