| Index: src/js/json.js
|
| diff --git a/src/js/json.js b/src/js/json.js
|
| index f5c0ae7a3cb7219d7d106bbf27205939871fce0c..456b20e7c38dec3267986b9ecb60d77f3b73b4d3 100644
|
| --- a/src/js/json.js
|
| +++ b/src/js/json.js
|
| @@ -280,19 +280,4 @@ utils.InstallFunctions(GlobalDate.prototype, DONT_ENUM, [
|
| "toJSON", DateToJSON
|
| ]);
|
|
|
| -// -------------------------------------------------------------------
|
| -// JSON Builtins
|
| -
|
| -function JsonSerializeAdapter(key, object, indent, gap) {
|
| - var holder = {};
|
| - holder[key] = object;
|
| - // No need to pass the actual holder since there is no replacer function.
|
| - var current_indent = "";
|
| - for (var i = 0; i < indent; i++) current_indent += gap;
|
| - return JSONSerialize(
|
| - key, holder, UNDEFINED, new Stack(), current_indent, gap);
|
| -}
|
| -
|
| -%InstallToContext(["json_serialize_adapter", JsonSerializeAdapter]);
|
| -
|
| })
|
|
|