Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 8794a17

Browse files
linclarkbtford
authored andcommittedFeb 28, 2014
docs(core): update fromJson return values
Dates are not returned, so remove Date from list of return values. Closes #3070
1 parent 41e648a commit 8794a17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Angular.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ function toJson(obj, pretty) {
986986
* Deserializes a JSON string.
987987
*
988988
* @param {string} json JSON string to deserialize.
989-
* @returns {Object|Array|Date|string|number} Deserialized thingy.
989+
* @returns {Object|Array|string|number} Deserialized thingy.
990990
*/
991991
function fromJson(json) {
992992
return isString(json)

0 commit comments

Comments
 (0)