Skip to content

Commit bb36bc7

Browse files
committed
style(Angular.js): fix typo in comment
1 parent bf1972d commit bb36bc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Angular.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ function shallowCopy(src, dst) {
768768

769769
for(var key in src) {
770770
// shallowCopy is only ever called by $compile nodeLinkFn, which has control over src
771-
// so we don't need to worry hasOwnProperty here
771+
// so we don't need to worry about using our custom hasOwnProperty here
772772
if (src.hasOwnProperty(key) && key.substr(0, 2) !== '$$') {
773773
dst[key] = src[key];
774774
}

0 commit comments

Comments
 (0)