Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LEGACY SUPPORT is not defined #158

Open
SemenovN opened this issue Apr 30, 2017 · 2 comments
Open

LEGACY SUPPORT is not defined #158

SemenovN opened this issue Apr 30, 2017 · 2 comments

Comments

@SemenovN
Copy link

Hi,
I cannot use svg4everybody. I use it as it is in your the manual.
But I gets in cosole browser the error message "LEGACY_SUPPORT is undefined"
help me

@srudolph-credera
Copy link

@SemenovN you're probably using the lib folder version and not the dist folder version of the library, the instructions assume the latter.

@mushroom-cn
Copy link

mushroom-cn commented Oct 20, 2017

@SemenovN You can redefine a var like this at the top: var LEGACY_SUPPORT = LEGACY_SUPPORT || undefined;.
I meet the same issues. @jonathantneal , Can you add this code to lib files. If the code is under "use strict" mode, the script will throw an exception and will not be executed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants