We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf1972d commit bb36bc7Copy full SHA for bb36bc7
src/Angular.js
@@ -768,7 +768,7 @@ function shallowCopy(src, dst) {
768
769
for(var key in src) {
770
// shallowCopy is only ever called by $compile nodeLinkFn, which has control over src
771
- // so we don't need to worry hasOwnProperty here
+ // so we don't need to worry about using our custom hasOwnProperty here
772
if (src.hasOwnProperty(key) && key.substr(0, 2) !== '$$') {
773
dst[key] = src[key];
774
}
0 commit comments