"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/platforms/web/runtime/modules/dom-props.js" between
vue-2.6.11.tar.gz and vue-2.6.12.tar.gz

About: Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

dom-props.js  (vue-2.6.11):dom-props.js  (vue-2.6.12)
skipping to change at line 66 skipping to change at line 66
while (elm.firstChild) { while (elm.firstChild) {
elm.removeChild(elm.firstChild) elm.removeChild(elm.firstChild)
} }
while (svg.firstChild) { while (svg.firstChild) {
elm.appendChild(svg.firstChild) elm.appendChild(svg.firstChild)
} }
} else if ( } else if (
// skip the update if old and new VDOM state is the same. // skip the update if old and new VDOM state is the same.
// `value` is handled separately because the DOM value may be temporarily // `value` is handled separately because the DOM value may be temporarily
// out of sync with VDOM state due to focus, composition and modifiers. // out of sync with VDOM state due to focus, composition and modifiers.
// This #4521 by skipping the unnecesarry `checked` update. // This #4521 by skipping the unnecessary `checked` update.
cur !== oldProps[key] cur !== oldProps[key]
) { ) {
// some property updates can throw // some property updates can throw
// e.g. `value` on <progress> w/ non-finite value // e.g. `value` on <progress> w/ non-finite value
try { try {
elm[key] = cur elm[key] = cur
} catch (e) {} } catch (e) {}
} }
} }
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)