mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
style(Angular.js): fix typo in comment
This commit is contained in:
parent
bf1972dc1e
commit
bb36bc7edf
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue