Skip to content
This repository was archived by the owner on Oct 2, 2020. It is now read-only.

Commit fa355b4

Browse files
committed
Update previous PR to match eslint styleguide
This just adds double quotes instead of single quotes.
1 parent 81e7bf2 commit fa355b4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dist/vue-websocket.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default {
1616
let addListeners = function() {
1717
if (this.$options["socket"]) {
1818
let conf = this.$options.socket;
19-
if (conf.namespace) {
19+
if (conf.namespace) {
2020
this.$socket = IO(conf.namespace, conf.options);
2121
}
2222

@@ -49,7 +49,7 @@ export default {
4949
};
5050

5151
Vue.mixin({
52-
[Vue.version.indexOf('2') === 0 ? 'beforeCreate' : 'beforeCompile']: addListeners,
52+
[Vue.version.indexOf("2") === 0 ? "beforeCreate" : "beforeCompile"]: addListeners,
5353
beforeDestroy: removeListeners
5454
});
5555

0 commit comments

Comments
 (0)