-
Notifications
You must be signed in to change notification settings - Fork 9
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
@close => .destroy (coffeescript) #21
Comments
I can confirm this happens. It occurs every time @close() was called inside of a function. |
hey guys, yeah this tool "kinda" works for coffeescript, I think if we wanted to really support coffeescript we would need a new matcher / replacement file. If someone is interested in taking a stab obviously @jasonLaster and I have your back :) |
@jasonLaster, yeah I'd love to but sadly I doubt I'll get a chance any time soon. @samccone it's been a month since I did my upgrade, but AFAI can remember it actually worked pretty well on all my coffeescript, and this issue was the only significant hitch I encountered. In any case, even despite this fairly minor issue, huge kudos for making the automated upgrade script! (Not to mention for making Marionette itself :) |
👍 👍 |
for code in which a view has a method to close (now destroy itself), the coffeescript might have looked like:
and upgrade.py proposes to replace this with:
rather than:
The text was updated successfully, but these errors were encountered: