"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "types/test/vue-test.ts" between
vue-2.6.9.tar.gz and vue-2.6.10.tar.gz

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

vue-test.ts  (vue-2.6.9):vue-test.ts  (vue-2.6.10)
skipping to change at line 216 skipping to change at line 216
declare function decorate<VC extends typeof Vue>(v: VC): VC; declare function decorate<VC extends typeof Vue>(v: VC): VC;
@decorate @decorate
class Decorated extends Vue { class Decorated extends Vue {
a = 123; a = 123;
} }
const obj = Vue.observable({ a: 1 }) const obj = Vue.observable({ a: 1 })
obj.a++ obj.a++
// VNodeData style tests.
const ComponentWithStyleInVNodeData = Vue.extend({
render (h) {
const elementWithStyleAsString = h('div', {
style: 'background-color: red;'
});
const elementWithStyleAsObject = h('div', {
style: { backgroundColor: 'green' }
});
const elementWithStyleAsArrayOfObjects = h('div', {
style: [
{ backgroundColor: 'blue' }
]
});
return h('div', undefined, [
elementWithStyleAsString,
elementWithStyleAsObject,
elementWithStyleAsArrayOfObjects
]);
}
});
 End of changes. 1 change blocks. 
0 lines changed or deleted 0 lines changed or added

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