diff --git a/src/locale/format.js b/src/locale/format.js index 93e3c34..59aba11 100644 --- a/src/locale/format.js +++ b/src/locale/format.js @@ -7,7 +7,10 @@ const RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g; export default function(Vue) { - const { hasOwn } = Vue.util; + // const { hasOwn } = Vue.util; + function hasOwn (obj, key) { + return Object.prototype.hasOwnProperty.call(obj, key); + } /** * template -- libgit2 0.21.4