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

Adding 'js' to slappey language #44

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

booleans-oss
Copy link

fix to #43

It is not a really important change as it allows users with v.2.0.0 slappey.json to still generate commands/events.

The main difference is the change from language === "javascript" to allow "js" by doing so ["javascript", "js"].includes(language).
However, the target version for Typescript (ES6) doesn't support polyfills (includes) so I had to add the modules

"lib": [
      "dom",
      "es7"
   ]

@booleans-oss booleans-oss changed the title Addinglanguage Adding 'js' to slappey language Jan 7, 2021
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

Successfully merging this pull request may close these issues.

2 participants