diff options
| -rw-r--r-- | src/Angular.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Angular.js b/src/Angular.js index f4f83d55..8ee08e48 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -768,7 +768,7 @@ function shallowCopy(src, dst) { for(var key in src) { // shallowCopy is only ever called by $compile nodeLinkFn, which has control over src - // so we don't need to worry hasOwnProperty here + // so we don't need to worry about using our custom hasOwnProperty here if (src.hasOwnProperty(key) && key.substr(0, 2) !== '$$') { dst[key] = src[key]; } |
