chore(upgrad): ng alpha52 and case-sensitive templates

This commit is contained in:
Adam Bradley
2015-12-10 22:52:55 -06:00
parent 87006dc5be
commit 5d6d9b9610
75 changed files with 292 additions and 413 deletions

View File

@@ -1,6 +1,6 @@
it('should check apple, enable/check grape, submit form', function() {
element(by.css('[ng-control=appleCtrl] .checkbox-media')).click();
element(by.css('[ngControl=appleCtrl] .checkbox-media')).click();
element(by.css('.e2eGrapeDisabled')).click();
element(by.css('.e2eGrapeChecked')).click();
element(by.css('.e2eSubmit')).click();

View File

@@ -4,23 +4,23 @@
<ion-content>
<form (submit)="doSubmit($event)" [ng-form-model]="fruitsForm">
<form (submit)="doSubmit($event)" [ngFormModel]="fruitsForm">
<ion-list>
<ion-checkbox value="apple" checked="true" ng-control="appleCtrl">
<ion-checkbox value="apple" checked="true" ngControl="appleCtrl">
Apple, value=apple, init checked
</ion-checkbox>
<ion-checkbox ng-control="bananaCtrl">
<ion-checkbox ngControl="bananaCtrl">
Banana, init no checked/value attributes
</ion-checkbox>
<ion-checkbox value="cherry" disabled="true" ng-control="cherryCtrl">
<ion-checkbox value="cherry" disabled="true" ngControl="cherryCtrl">
Cherry, value=cherry, init disabled
</ion-checkbox>
<ion-checkbox value="grape" [checked]="grapeChecked" [disabled]="grapeDisabled" ng-control="grapeCtrl">
<ion-checkbox value="grape" [checked]="grapeChecked" [disabled]="grapeDisabled" ngControl="grapeCtrl">
Grape, value=grape, init checked, disabled
</ion-checkbox>