Index: src/collection.js |
diff --git a/src/collection.js b/src/collection.js |
index 07d7c5c61b99c4256e2321fdaeb3ad570713fac5..4dff566049d9f01d54374c53cffd0bad93efb94a 100644 |
--- a/src/collection.js |
+++ b/src/collection.js |
@@ -503,15 +503,15 @@ function SetFromArray(array) { |
// Exports |
utils.ExportToRuntime(function(to) { |
- to.MapGet = MapGet; |
- to.MapSet = MapSet; |
- to.MapHas = MapHas; |
- to.MapDelete = MapDelete; |
- to.SetAdd = SetAdd; |
- to.SetHas = SetHas; |
- to.SetDelete = SetDelete; |
- to.MapFromArray = MapFromArray; |
- to.SetFromArray = SetFromArray; |
+ to["map_get"] = MapGet; |
+ to["map_set"] = MapSet; |
+ to["map_has"] = MapHas; |
+ to["map_delete"] = MapDelete; |
+ to["set_add"] = SetAdd; |
+ to["set_has"] = SetHas; |
+ to["set_delete"] = SetDelete; |
+ to["map_from_array"] = MapFromArray; |
+ to["set_from_array"]= SetFromArray; |
}); |
}) |