Ensure replacement of angular.copy still works where second parameter is used for destination object.
This commit is contained in:
committed by
Sebastiaan Janssen
parent
143f0c04a3
commit
eff630d3a0
@@ -18,7 +18,7 @@
|
||||
/**
|
||||
* Facade to angular.copy
|
||||
*/
|
||||
const copy = val => angular.copy(val);
|
||||
const copy = (src, dst) => angular.copy(src, dst);
|
||||
|
||||
/**
|
||||
* Equivalent to angular.isArray
|
||||
|
||||
Reference in New Issue
Block a user