"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dist/vue.common.dev.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.

vue.common.dev.js  (vue-2.6.11):vue.common.dev.js  (vue-2.6.12)
/*! /*!
* Vue.js v2.6.11 * Vue.js v2.6.12
* (c) 2014-2019 Evan You * (c) 2014-2020 Evan You
* Released under the MIT License. * Released under the MIT License.
*/ */
'use strict'; 'use strict';
/* */ /* */
var emptyObject = Object.freeze({}); var emptyObject = Object.freeze({});
// These helpers produce better VM code in JS engines due to their // These helpers produce better VM code in JS engines due to their
// explicitness and function inlining. // explicitness and function inlining.
skipping to change at line 5432 skipping to change at line 5432
/* istanbul ignore next */ /* istanbul ignore next */
return this.$vnode && this.$vnode.ssrContext return this.$vnode && this.$vnode.ssrContext
} }
}); });
// expose FunctionalRenderContext for ssr runtime helper installation // expose FunctionalRenderContext for ssr runtime helper installation
Object.defineProperty(Vue, 'FunctionalRenderContext', { Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext value: FunctionalRenderContext
}); });
Vue.version = '2.6.11'; Vue.version = '2.6.12';
/* */ /* */
// these are reserved for web because they are directly compiled away // these are reserved for web because they are directly compiled away
// during template compilation // during template compilation
var isReservedAttr = makeMap('style,class'); var isReservedAttr = makeMap('style,class');
// attributes that should be using props for binding // attributes that should be using props for binding
var acceptValue = makeMap('input,textarea,option,select,progress'); var acceptValue = makeMap('input,textarea,option,select,progress');
var mustUseProp = function (tag, type, attr) { var mustUseProp = function (tag, type, attr) {
skipping to change at line 7634 skipping to change at line 7634
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) {}
} }
} }
} }
skipping to change at line 9876 skipping to change at line 9876
if (child) { if (child) {
if (options.outputSourceRange) { if (options.outputSourceRange) {
child.start = start; child.start = start;
child.end = end; child.end = end;
} }
children.push(child); children.push(child);
} }
} }
}, },
comment: function comment (text, start, end) { comment: function comment (text, start, end) {
// adding anyting as a sibling to the root node is forbidden // adding anything as a sibling to the root node is forbidden
// comments should still be allowed, but ignored // comments should still be allowed, but ignored
if (currentParent) { if (currentParent) {
var child = { var child = {
type: 3, type: 3,
text: text, text: text,
isComment: true isComment: true
}; };
if (options.outputSourceRange) { if (options.outputSourceRange) {
child.start = start; child.start = start;
child.end = end; child.end = end;
 End of changes. 4 change blocks. 
5 lines changed or deleted 5 lines changed or added

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