chore(facade): make normalizeBlank less nonsensical

This commit is contained in:
yjbanov 2015-07-14 16:25:47 -07:00
parent 7531b48d02
commit b4cde697b5
1 changed files with 2 additions and 3 deletions

View File

@ -202,9 +202,8 @@ dynamic getMapKey(value) {
return value.isNaN ? _NAN_KEY : value;
}
dynamic normalizeBlank(obj) {
return isBlank(obj) ? null : obj;
}
// TODO: remove with https://github.com/angular/angular/issues/3055
dynamic normalizeBlank(obj) => obj;
bool normalizeBool(bool obj) {
return isBlank(obj) ? false : obj;