-
Notifications
You must be signed in to change notification settings - Fork 69
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
marionette Cannot read property 'radio' of undefined
#214
Comments
What is the stack trace? |
The line in question is: Line number 2681 in backbone.marionette.js. |
I have no idea why it happens. Any guesses? What Rails Assets does wrong? |
I noticed that |
Here's a project showing the issue: https://github.com/workmaster2n/marionette_bower_issue |
This project doesn't use rails-assets at all. Did you forget to push something? |
I must have missed a commit. Updated the project. |
Rails Assets doesn't automatically require dependencies. It only installs them automatically. You need to manually include all marionette dependencies like so:
|
Awesome! Thanks for finding that. I assumed Bower pulled in a different file from Marionette. |
Gemfile:
application.js:
my_app.js.coffee
Output:
Uncaught TypeError: Cannot read property 'radio' of undefined
inBackbone.Marionette
If I download the
marionette.js
file separately and place it invendor/assets/javascript
, I do not have any issue with the code.The text was updated successfully, but these errors were encountered: