Fixed 2-way optional for radio/toggle/checkbox

This commit is contained in:
Max Lynch
2014-01-23 17:27:41 -06:00
parent 85b709e5ac
commit 203809397e
8 changed files with 23 additions and 22 deletions

1
dist/css/ionic.css vendored
View File

@@ -1,3 +1,4 @@
@charset "UTF-8";
/*!
* Copyright 2014 Drifty Co.
* http://drifty.com/

View File

@@ -1,4 +1,4 @@
/*!
@charset "UTF-8";/*!
* Copyright 2014 Drifty Co.
* http://drifty.com/
*

View File

@@ -1196,9 +1196,9 @@ angular.module('ionic.ui.checkbox', [])
replace: true,
require: '?ngModel',
scope: {
ngModel: '=',
ngValue: '=',
ngChecked: '=',
ngModel: '=?',
ngValue: '=?',
ngChecked: '=?',
ngChange: '&'
},
transclude: true,
@@ -1616,8 +1616,8 @@ angular.module('ionic.ui.radio', [])
replace: true,
require: '?ngModel',
scope: {
ngModel: '=',
ngValue: '=',
ngModel: '=?',
ngValue: '=?',
ngChange: '&',
icon: '@'
},
@@ -2453,9 +2453,9 @@ angular.module('ionic.ui.toggle', [])
replace: true,
require: '?ngModel',
scope: {
ngModel: '=',
ngValue: '=',
ngChecked: '=',
ngModel: '=?',
ngValue: '=?',
ngChecked: '=?',
ngChange: '&'
},
transclude: true,

View File

File diff suppressed because one or more lines are too long

View File

File diff suppressed because one or more lines are too long

View File

@@ -10,9 +10,9 @@ angular.module('ionic.ui.checkbox', [])
replace: true,
require: '?ngModel',
scope: {
ngModel: '=',
ngValue: '=',
ngChecked: '=',
ngModel: '=?',
ngValue: '=?',
ngChecked: '=?',
ngChange: '&'
},
transclude: true,

View File

@@ -11,8 +11,8 @@ angular.module('ionic.ui.radio', [])
replace: true,
require: '?ngModel',
scope: {
ngModel: '=',
ngValue: '=',
ngModel: '=?',
ngValue: '=?',
ngChange: '&',
icon: '@'
},

View File

@@ -12,9 +12,9 @@ angular.module('ionic.ui.toggle', [])
replace: true,
require: '?ngModel',
scope: {
ngModel: '=',
ngValue: '=',
ngChecked: '=',
ngModel: '=?',
ngValue: '=?',
ngChecked: '=?',
ngChange: '&'
},
transclude: true,