fix: flip attr / property bind in directives annotations

Fixes #648

Closes #684
This commit is contained in:
Pawel Kozlowski
2015-02-17 21:55:18 +01:00
parent 709c3ca6b5
commit 56f4e84d45
12 changed files with 36 additions and 36 deletions

View File

@ -104,7 +104,7 @@ export function setupReflectorForCells() {
new Component({
selector: 'company-name',
bind: {
'cell-width': 'width',
'width': 'cell-width',
'company': 'company'
}
}),
@ -122,7 +122,7 @@ export function setupReflectorForCells() {
new Component({
selector: 'opportunity-name',
bind: {
'cell-width': 'width',
'width': 'cell-width',
'opportunity': 'opportunity'
}
}),
@ -140,7 +140,7 @@ export function setupReflectorForCells() {
new Component({
selector: 'offering-name',
bind: {
'cell-width': 'width',
'width': 'cell-width',
'offering': 'offering'
}
}),
@ -158,7 +158,7 @@ export function setupReflectorForCells() {
new Component({
selector: 'stage-buttons',
bind: {
'cell-width': 'width',
'width': 'cell-width',
'offering': 'offering'
}
}),
@ -184,7 +184,7 @@ export function setupReflectorForCells() {
new Component({
selector: 'account-cell',
bind: {
'cell-width': 'width',
'width': 'cell-width',
'account': 'account'
}
}),
@ -207,7 +207,7 @@ export function setupReflectorForCells() {
new Component({
selector: 'formatted-cell',
bind: {
'cell-width': 'width',
'width': 'cell-width',
'value': 'value'
}
}),

View File

@ -158,7 +158,7 @@ export function setupReflectorForAngular() {
'annotations' : [new Viewport({
selector: '[if]',
bind: {
'if': 'condition'
'condition': 'if'
}
})]
});
@ -169,7 +169,7 @@ export function setupReflectorForAngular() {
'annotations' : [new Viewport({
selector: '[foreach]',
bind: {
'in': 'iterableChanges[]'
'iterableChanges[]': 'in'
}
})]
});