neetjn / v-localize

Simple localization plugin for the amazing Vue.js.

Home Page:https://neetjn.github.io/v-localize/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in directive localize unbind hook: "ReferenceError: vm is not defined"

seegodesign opened this issue · comments

  1. Describe your issue:
    This bug appears in the "unbind" function, when a component containing localized text is hidden with v-if

  2. Can you reproduce the issue?
    Yes

  3. On which browser/OS does the issue appear?
    All platforms

  4. Which version of v-localize does it affect?
    1.2.1

  5. How would you tag this issue?
    Bug

See: https://jsfiddle.net/seegodesign/yh3mtsa0/4/

Resolved in #38.

Remember to star if you find v-localize helpful!