refactor(MapWrapper): drop delete(), get(), forEach() and size

Closes #4618
This commit is contained in:
Victor Berchet
2015-10-08 16:01:18 -07:00
parent aab0c57aee
commit a8c34ae290
22 changed files with 51 additions and 73 deletions

View File

@ -87,7 +87,7 @@ export class RawEntity {
remove(key: string) {
if (!StringWrapper.contains(key, '.')) {
return MapWrapper.delete(this._data, key);
return this._data.delete(key);
}
var pieces = key.split('.');
var last = ListWrapper.last(pieces);