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

generate model - wrongly named backbone.js initialize method #10

Closed
samiru opened this issue May 4, 2011 · 1 comment
Closed

generate model - wrongly named backbone.js initialize method #10

samiru opened this issue May 4, 2011 · 1 comment

Comments

@samiru
Copy link

samiru commented May 4, 2011

capt generate model user ---> (generates following coffeescript)

class User extends Backbone.Model
initializer: ->
# ...

@user = User

Initialization method for Backbone.js models should be initialize, not initializer.

@bnolan
Copy link
Owner

bnolan commented May 4, 2011

Fixed in 0.5.4 - thanks!

@bnolan bnolan closed this as completed May 4, 2011
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

2 participants