Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #7 from menthol/patch-1
Browse files Browse the repository at this point in the history
Fix window check
  • Loading branch information
claudiocro authored Sep 25, 2017
2 parents ec869a5 + 85ecda7 commit d7f7dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ export default class VueI18n {
VueI18n.install = install;
VueI18n.version = __VERSION__;

if (typeof window && window.Vue) {
if (typeof window !== 'undefined' && window.Vue) {
window.Vue.use(VueI18n);
}

0 comments on commit d7f7dae

Please sign in to comment.