style(Angular.js): fix typo in comment

This commit is contained in:
Igor Minar 2013-12-03 15:38:05 -08:00
parent bf1972dc1e
commit bb36bc7edf

View file

@ -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];
}