Skip to content

Commit 146474c

Browse files
authored
Update index.js
1 parent ae28d31 commit 146474c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
function plugin(Vue, axios) {
1010

1111
if (plugin.installed) {
12-
return;
12+
return
1313
}
1414

1515
if (!axios) {
@@ -23,25 +23,25 @@ function plugin(Vue, axios) {
2323

2424
axios: {
2525
get() {
26-
return axios;
26+
return axios
2727
}
2828
},
2929

3030
$http: {
3131
get() {
32-
return axios;
32+
return axios
3333
}
3434
}
3535

36-
});
36+
})
3737
}
3838

3939
if (typeof exports == "object") {
40-
module.exports = plugin;
40+
module.exports = plugin
4141
} else if (typeof define == "function" && define.amd) {
42-
define([], function(){ return plugin });
42+
define([], function(){ return plugin })
4343
} else if (window.Vue && window.axios) {
44-
Vue.use(plugin, window.axios);
44+
Vue.use(plugin, window.axios)
4545
}
4646

4747
})();

0 commit comments

Comments
 (0)