chore:更换到主分支

This commit is contained in:
张益铭
2021-03-01 15:26:05 +08:00
parent 9064b372e8
commit 6a5f1810f9
3530 changed files with 59613 additions and 479452 deletions

16
node_modules/vue/dist/vue.cjs.js generated vendored
View File

@@ -27,7 +27,9 @@ function initDev() {
}
// This entry is the "full-build" that includes both the runtime
initDev();
{
initDev();
}
const compileCache = Object.create(null);
function compileToFunction(template, options) {
if (!shared.isString(template)) {
@@ -35,7 +37,7 @@ function compileToFunction(template, options) {
template = template.innerHTML;
}
else {
runtimeDom.warn(`invalid template option: `, template);
runtimeDom.warn(`invalid template option: `, template);
return shared.NOOP;
}
}
@@ -46,7 +48,7 @@ function compileToFunction(template, options) {
}
if (template[0] === '#') {
const el = document.querySelector(template);
if ( !el) {
if (!el) {
runtimeDom.warn(`Template element not found or is empty: ${template}`);
}
// __UNSAFE__
@@ -70,13 +72,13 @@ function compileToFunction(template, options) {
// with keys that cannot be mangled, and can be quite heavy size-wise.
// In the global build we know `Vue` is available globally so we can avoid
// the wildcard object.
const render = ( new Function('Vue', code)(runtimeDom__namespace));
const render = (new Function('Vue', code)(runtimeDom__namespace));
render._rc = true;
return (compileCache[key] = render);
}
runtimeDom.registerRuntimeCompiler(compileToFunction);
Object.keys(runtimeDom).forEach(function (k) {
if (k !== 'default') exports[k] = runtimeDom[k];
});
exports.compile = compileToFunction;
Object.keys(runtimeDom).forEach(function (k) {
if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = runtimeDom[k];
});

View File

@@ -2,9 +2,9 @@
Object.defineProperty(exports, '__esModule', { value: true });
var compilerDom = require('@vue/compiler-dom');
var runtimeDom = require('@vue/runtime-dom');
var shared = require('@vue/shared');
var compilerDom = require('@vue/compiler-dom');
function _interopNamespace(e) {
if (e && e.__esModule) return e;
@@ -57,13 +57,13 @@ function compileToFunction(template, options) {
// with keys that cannot be mangled, and can be quite heavy size-wise.
// In the global build we know `Vue` is available globally so we can avoid
// the wildcard object.
const render = ( new Function('Vue', code)(runtimeDom__namespace));
const render = (new Function('Vue', code)(runtimeDom__namespace));
render._rc = true;
return (compileCache[key] = render);
}
runtimeDom.registerRuntimeCompiler(compileToFunction);
Object.keys(runtimeDom).forEach(function (k) {
if (k !== 'default') exports[k] = runtimeDom[k];
});
exports.compile = compileToFunction;
Object.keys(runtimeDom).forEach(function (k) {
if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = runtimeDom[k];
});

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -9,14 +9,14 @@ function initDev() {
target.__VUE__ = true;
setDevtoolsHook(target.__VUE_DEVTOOLS_GLOBAL_HOOK__);
{
console.info(`You are running a development build of Vue.\n` +
`Make sure to use the production build (*.prod.js) when deploying for production.`);
initCustomFormatter();
}
}
// This entry is the "full-build" that includes both the runtime
(process.env.NODE_ENV !== 'production') && initDev();
if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {
initDev();
}
const compileCache = Object.create(null);
function compileToFunction(template, options) {
if (!isString(template)) {
@@ -63,7 +63,7 @@ function compileToFunction(template, options) {
// with keys that cannot be mangled, and can be quite heavy size-wise.
// In the global build we know `Vue` is available globally so we can avoid
// the wildcard object.
const render = ( new Function('Vue', code)(runtimeDom));
const render = (new Function('Vue', code)(runtimeDom));
render._rc = true;
return (compileCache[key] = render);
}

1696
node_modules/vue/dist/vue.global.js generated vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -7,18 +7,18 @@ function initDev() {
target.__VUE__ = true;
setDevtoolsHook(target.__VUE_DEVTOOLS_GLOBAL_HOOK__);
{
console.info(`You are running a development build of Vue.\n` +
`Make sure to use the production build (*.prod.js) when deploying for production.`);
initCustomFormatter();
}
}
// This entry exports the runtime only, and is built as
(process.env.NODE_ENV !== 'production') && initDev();
if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {
initDev();
}
const compile = () => {
if ((process.env.NODE_ENV !== 'production')) {
warn(`Runtime compilation is not supported in this build of Vue.` +
( ` Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".`
(` Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".`
) /* should not happen */);
}
};

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long