Merge "Refactor ContributionsSpecialPage->contributionsSub to support markup overrides"
[mediawiki.git] / resources / lib / vue-demi / index.cjs
blob8197f906d70c8fc112ef264b700e0f560f41318a
1 var Vue = require('vue')
3 Object.keys(Vue).forEach(function(key) {
4   exports[key] = Vue[key]
5 })
7 exports.set = function(target, key, val) {
8   if (Array.isArray(target)) {
9     target.length = Math.max(target.length, key)
10     target.splice(key, 1, val)
11     return val
12   }
13   target[key] = val
14   return val
17 exports.del = function(target, key) {
18   if (Array.isArray(target)) {
19     target.splice(key, 1)
20     return
21   }
22   delete target[key]
25 exports.Vue = Vue
26 exports.Vue2 = undefined
27 exports.isVue2 = false
28 exports.isVue3 = true
29 exports.install = function(){}