Index: src/json.js |
diff --git a/src/json.js b/src/json.js |
index 3bc52cbbf5dbedd475e1c2069b2e474454b8cdda..8d046ee95536d1c47164afd10bf2871094454589 100644 |
--- a/src/json.js |
+++ b/src/json.js |
@@ -252,8 +252,6 @@ function JsonSerializeAdapter(key, object) { |
return JSONSerialize(key, holder, UNDEFINED, new InternalArray(), "", ""); |
} |
-utils.ExportToRuntime(function(to) { |
- to["json_serialize_adapter"] = JsonSerializeAdapter; |
-}); |
+%InstallToContext(["json_serialize_adapter", JsonSerializeAdapter]); |
}) |