Skip to content

Commit 0a3d95d

Browse files
committed
chore: new build
1 parent 99b976e commit 0a3d95d

File tree

5 files changed

+44
-123
lines changed

5 files changed

+44
-123
lines changed

dist/vue2-editor.common.js

Lines changed: 10 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* vue2-editor v2.10.1-next.5
2+
* vue2-editor v2.10.1-next.6
33
* (c) 2019 David Royer
44
* Released under the MIT License.
55
*/
@@ -8894,33 +8894,13 @@ var __vue_staticRenderFns__ = [];
88948894
undefined
88958895
);
88968896

8897-
// import Quill from "quill";
8898-
var version = "2.10.1-next.5"; // Declare install function executed by Vue.use()
8899-
8900-
function install(Vue) {
8901-
if (install.installed) return;
8902-
install.installed = true;
8903-
Vue.component("VueEditor", VueEditor);
8904-
}
8905-
var VPlugin = {
8906-
install: install,
8907-
version: version,
8908-
VueEditor: VueEditor
8909-
}; // Auto-install when vue is found (eg. in browser via <script> tag)
8910-
8911-
var GlobalVue = null;
8912-
8913-
if (typeof window !== "undefined") {
8914-
GlobalVue = window.Vue;
8915-
} else if (typeof global !== "undefined") {
8916-
GlobalVue = global.Vue;
8917-
}
8918-
8919-
if (GlobalVue) {
8920-
GlobalVue.use(VPlugin);
8921-
}
8922-
/*************************************************/
8897+
/* eslint-disable no-console */
8898+
var Plugin = {
8899+
install: function install(Vue) {
8900+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
8901+
console.log("install -> options", options);
8902+
Vue.component("VueEditor", VueEditor);
8903+
}
8904+
};
89238905

8924-
exports.VueEditor = VueEditor;
8925-
exports.default = VPlugin;
8926-
exports.install = install;
8906+
exports.default = Plugin;

dist/vue2-editor.core.js

Lines changed: 10 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* vue2-editor v2.10.1-next.5
2+
* vue2-editor v2.10.1-next.6
33
* (c) 2019 David Royer
44
* Released under the MIT License.
55
*/
@@ -8836,36 +8836,16 @@
88368836
undefined
88378837
);
88388838

8839-
// import Quill from "quill";
8840-
var version = "2.10.1-next.5"; // Declare install function executed by Vue.use()
8841-
8842-
function install(Vue) {
8843-
if (install.installed) return;
8844-
install.installed = true;
8845-
Vue.component("VueEditor", VueEditor);
8846-
}
8847-
var VPlugin = {
8848-
install: install,
8849-
version: version,
8850-
VueEditor: VueEditor
8851-
}; // Auto-install when vue is found (eg. in browser via <script> tag)
8852-
8853-
var GlobalVue = null;
8854-
8855-
if (typeof window !== "undefined") {
8856-
GlobalVue = window.Vue;
8857-
} else if (typeof global !== "undefined") {
8858-
GlobalVue = global.Vue;
8859-
}
8860-
8861-
if (GlobalVue) {
8862-
GlobalVue.use(VPlugin);
8863-
}
8864-
/*************************************************/
8839+
/* eslint-disable no-console */
8840+
var Plugin = {
8841+
install: function install(Vue) {
8842+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
8843+
console.log("install -> options", options);
8844+
Vue.component("VueEditor", VueEditor);
8845+
}
8846+
};
88658847

8866-
exports.VueEditor = VueEditor;
8867-
exports.default = VPlugin;
8868-
exports.install = install;
8848+
exports.default = Plugin;
88698849

88708850
Object.defineProperty(exports, '__esModule', { value: true });
88718851

dist/vue2-editor.esm.js

Lines changed: 10 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* vue2-editor v2.10.1-next.5
2+
* vue2-editor v2.10.1-next.6
33
* (c) 2019 David Royer
44
* Released under the MIT License.
55
*/
@@ -8890,32 +8890,13 @@ var __vue_staticRenderFns__ = [];
88908890
undefined
88918891
);
88928892

8893-
// import Quill from "quill";
8894-
var version = "2.10.1-next.5"; // Declare install function executed by Vue.use()
8895-
8896-
function install(Vue) {
8897-
if (install.installed) return;
8898-
install.installed = true;
8899-
Vue.component("VueEditor", VueEditor);
8900-
}
8901-
var VPlugin = {
8902-
install: install,
8903-
version: version,
8904-
VueEditor: VueEditor
8905-
}; // Auto-install when vue is found (eg. in browser via <script> tag)
8906-
8907-
var GlobalVue = null;
8908-
8909-
if (typeof window !== "undefined") {
8910-
GlobalVue = window.Vue;
8911-
} else if (typeof global !== "undefined") {
8912-
GlobalVue = global.Vue;
8913-
}
8914-
8915-
if (GlobalVue) {
8916-
GlobalVue.use(VPlugin);
8917-
}
8918-
/*************************************************/
8893+
/* eslint-disable no-console */
8894+
var Plugin = {
8895+
install: function install(Vue) {
8896+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
8897+
console.log("install -> options", options);
8898+
Vue.component("VueEditor", VueEditor);
8899+
}
8900+
};
89198901

8920-
export default VPlugin;
8921-
export { VueEditor, install };
8902+
export default Plugin;

dist/vue2-editor.umd.js

Lines changed: 10 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* vue2-editor v2.10.1-next.5
2+
* vue2-editor v2.10.1-next.6
33
* (c) 2019 David Royer
44
* Released under the MIT License.
55
*/
@@ -8886,36 +8886,16 @@
88868886
undefined
88878887
);
88888888

8889-
// import Quill from "quill";
8890-
var version = "2.10.1-next.5"; // Declare install function executed by Vue.use()
8891-
8892-
function install(Vue) {
8893-
if (install.installed) return;
8894-
install.installed = true;
8895-
Vue.component("VueEditor", VueEditor);
8896-
}
8897-
var VPlugin = {
8898-
install: install,
8899-
version: version,
8900-
VueEditor: VueEditor
8901-
}; // Auto-install when vue is found (eg. in browser via <script> tag)
8902-
8903-
var GlobalVue = null;
8904-
8905-
if (typeof window !== "undefined") {
8906-
GlobalVue = window.Vue;
8907-
} else if (typeof global !== "undefined") {
8908-
GlobalVue = global.Vue;
8909-
}
8910-
8911-
if (GlobalVue) {
8912-
GlobalVue.use(VPlugin);
8913-
}
8914-
/*************************************************/
8889+
/* eslint-disable no-console */
8890+
var Plugin = {
8891+
install: function install(Vue) {
8892+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
8893+
console.log("install -> options", options);
8894+
Vue.component("VueEditor", VueEditor);
8895+
}
8896+
};
89158897

8916-
exports.VueEditor = VueEditor;
8917-
exports.default = VPlugin;
8918-
exports.install = install;
8898+
exports.default = Plugin;
89198899

89208900
Object.defineProperty(exports, '__esModule', { value: true });
89218901

dist/vue2-editor.umd.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)