diff --git a/Objective-J/CFDictionary.js b/Objective-J/CFDictionary.js index 99fd02fb4..8336920ec 100644 --- a/Objective-J/CFDictionary.js +++ b/Objective-J/CFDictionary.js @@ -136,17 +136,17 @@ DISPLAY_NAME(CFDictionary.prototype.valueForKey); CFDictionary.prototype.toString = function() { var string = "{\n", - keys = this._keys, - index = 0, - count = this._count; - + keys = this._keys, + index = 0, + count = this._count; + for (; index < count; ++index) { var key = keys[index]; - + string += "\t" + key + " = \"" + String(this.valueForKey(key)).split('\n').join("\n\t") + "\"\n"; } - + return string + "}"; };