Skip to content

Commit

Permalink
Apparently since [24028] the _indentStr parameter isn't used, even in…
Browse files Browse the repository at this point in the history
…ternally. Refs #8111 !strict.

git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@26140 560b804f-0ae3-0310-86f3-f6aa0a117693
  • Loading branch information
wkeese committed Aug 10, 2011
1 parent c7a848f commit 0109611
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions _base/json.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dojo._escapeString = function(){
dojo._escapeString = json.stringify; // just delegate to json.stringify

dojo.toJsonIndentStr = "\t";
dojo.toJson = function(/*Object*/ it, /*Boolean?*/ prettyPrint, /*String?*/ _indentStr){
dojo.toJson = function(/*Object*/ it, /*Boolean?*/ prettyPrint){
// summary:
// Returns a [JSON](http://json.org) serialization of an object.
// description:
Expand All @@ -54,8 +54,6 @@ dojo.toJson = function(/*Object*/ it, /*Boolean?*/ prettyPrint, /*String?*/ _ind
// before calling dojo.toJson().
// Note that if native JSON support is available, it will be used for serialization,
// and native implementations vary on the exact spacing used in pretty printing.
// _indentStr:
// private variable for recursive calls when pretty printing, do not use.
// returns:
// A JSON string serialization of the passed-in object.
// example:
Expand Down

0 comments on commit 0109611

Please sign in to comment.