mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-07 17:16:42 +08:00
committed by
Caitlin Potter
parent
ea6fc6e69c
commit
fe697527b4
@@ -817,7 +817,7 @@ function copy(source, destination, stackSource, stackDest) {
|
||||
/**
|
||||
* Creates a shallow copy of an object, an array or a primitive.
|
||||
*
|
||||
* Assumes that there no proto properties for objects
|
||||
* Assumes that there are no proto properties for objects.
|
||||
*/
|
||||
function shallowCopy(src, dst) {
|
||||
if (isArray(src)) {
|
||||
|
||||
Reference in New Issue
Block a user