update i18n format

vue remove hasOwn
This commit is contained in:
梁灏 2017-04-20 09:40:08 +08:00
parent ab249f7059
commit 07daf1b611

View file

@ -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