From 2fc83ef80b834ddf63f83020947aa7e990901e72 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 14 Dec 2012 01:06:00 -0800 Subject: [PATCH] Tweak `_.cloneDeep` docs. Former-commit-id: 992471067498a0be795f473fabaaf8e45581f291 --- doc/README.md | 2 +- lodash.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/README.md b/doc/README.md index f2b991e37..dcb77e013 100644 --- a/doc/README.md +++ b/doc/README.md @@ -1857,7 +1857,7 @@ deep[0] === stooges[0]; ### `_.cloneDeep(value)` # [Ⓢ](https://github.com/bestiejs/lodash/blob/master/lodash.js#L1095 "View in source") [Ⓣ][1] -Creates a deep clone of `value`. Functions and DOM nodes are **not** cloned. The enumerable properties of `arguments` objects and objects created by constructors other than `Object` are cloned to plain `Object` objects. Note: Lo-Dash's deep clone functionality is loosely based on the structured clone algorithm. See http://www.w3.org/TR/html5/common-dom-interfaces.html#internal-structured-cloning-algorithm. +Creates a deep clone of `value`. Functions and DOM nodes are **not** cloned. The enumerable properties of `arguments` objects and objects created by constructors other than `Object` are cloned to plain `Object` objects. Note: This function is loosely based on the structured clone algorithm. See http://www.w3.org/TR/html5/common-dom-interfaces.html#internal-structured-cloning-algorithm. #### Arguments 1. `value` *(Mixed)*: The value to deep clone. diff --git a/lodash.js b/lodash.js index 5523aba2d..c628a84d7 100644 --- a/lodash.js +++ b/lodash.js @@ -1072,7 +1072,7 @@ * The enumerable properties of `arguments` objects and objects created by * constructors other than `Object` are cloned to plain `Object` objects. * - * Note: Lo-Dash's deep clone functionality is loosely based on the structured clone algorithm. + * Note: This function is loosely based on the structured clone algorithm. * See http://www.w3.org/TR/html5/common-dom-interfaces.html#internal-structured-cloning-algorithm. * * @static