We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae28d31 commit 146474cCopy full SHA for 146474c
src/index.js
@@ -9,7 +9,7 @@
9
function plugin(Vue, axios) {
10
11
if (plugin.installed) {
12
- return;
+ return
13
}
14
15
if (!axios) {
@@ -23,25 +23,25 @@ function plugin(Vue, axios) {
23
24
axios: {
25
get() {
26
- return axios;
+ return axios
27
28
},
29
30
$http: {
31
32
33
34
35
36
- });
+ })
37
38
39
if (typeof exports == "object") {
40
- module.exports = plugin;
+ module.exports = plugin
41
} else if (typeof define == "function" && define.amd) {
42
- define([], function(){ return plugin });
+ define([], function(){ return plugin })
43
} else if (window.Vue && window.axios) {
44
- Vue.use(plugin, window.axios);
+ Vue.use(plugin, window.axios)
45
46
47
})();
0 commit comments