Skip to content

Commit

Permalink
docs(core): update fromJson return values
Browse files Browse the repository at this point in the history
Dates are not returned, so remove Date from list of return values.

Closes angular#3070
  • Loading branch information
linclark authored and btford committed Feb 28, 2014
1 parent 41e648a commit 8794a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ function toJson(obj, pretty) {
* Deserializes a JSON string.
*
* @param {string} json JSON string to deserialize.
* @returns {Object|Array|Date|string|number} Deserialized thingy.
* @returns {Object|Array|string|number} Deserialized thingy.
*/
function fromJson(json) {
return isString(json)
Expand Down

0 comments on commit 8794a17

Please sign in to comment.