We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6f5893 commit f7f4d1cCopy full SHA for f7f4d1c
dist/immutable.js
@@ -1276,7 +1276,7 @@ var Map = function Map(value) {
1276
remove: function(k) {
1277
return updateMap(this, k, NOT_SET);
1278
},
1279
- removeIn: function(keyPath) {
+ deleteIn: function(keyPath) {
1280
return this.updateIn(keyPath, (function() {
1281
return NOT_SET;
1282
}));
@@ -1391,6 +1391,7 @@ var IS_MAP_SENTINEL = '@@__IMMUTABLE_MAP__@@';
1391
var MapPrototype = Map.prototype;
1392
MapPrototype[IS_MAP_SENTINEL] = true;
1393
MapPrototype[DELETE] = MapPrototype.remove;
1394
+MapPrototype.removeIn = MapPrototype.deleteIn;
1395
var ArrayMapNode = function ArrayMapNode(ownerID, entries) {
1396
this.ownerID = ownerID;
1397
this.entries = entries;
0 commit comments