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

Converted the coffeescript to javascript ahead of time #159

Closed
wants to merge 6 commits into from

Conversation

rogeralmeida
Copy link

I was receiving the following error on my main project:

Uncaught ReferenceError: require is not defined at recurring_select_dialog.js:4:1

Looking at the library source code I realised that I was still using CoffeeScript and transpiled it to js.
Since Javascript has evolved a lot in the last few years I will simplify this dependency and convert the CoffeeScript directly to js ahead of time in the source code.
I have used https://awsm-tools.com/coffeescript-to-javascript to do the conversion.

I have git grep require | grep js the source code and there is no require in the generated javascript.

@gregschmit gregschmit self-assigned this Aug 23, 2023
@gregschmit
Copy link
Owner

Sorry it took me so long to get to these PRs.

Any reason to keep s.add_dependency "coffee-rails", ">= 3.1" in the gemspec?

@gregschmit
Copy link
Owner

Closing as I believe this was accomplished in #166.

@gregschmit gregschmit closed this Nov 28, 2023
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