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

Documentation bug in Controller tutorial #146

Open
cotsog opened this issue Jan 9, 2013 · 0 comments
Open

Documentation bug in Controller tutorial #146

cotsog opened this issue Jan 9, 2013 · 0 comments

Comments

@cotsog
Copy link

cotsog commented Jan 9, 2013

Hi,

I think there is an error in the controller tutorial more precisely in:

JavaScriptMVC > Tutorials > Get Started with jQueryMX > Controller > Overview

URL is http://javascriptmvc.com/docs.html#!mvc.controller.

The error is in this phrase:

"The helper method name is the controller's name underscored, with any periods replaced with underscores. For example, the helper for $.Controller('App.FooBar') is $(el).appfoobar()."

it should be:

"The helper method name is the controller's name underscored, with any periods replaced with underscores. For example, the helper for $.Controller('App.FooBar') is $(el).app_foobar()."

Also it would be nice to mention that if "controller" is used in the controller's name, it will be removed from the helper method name e.g. the helper for $.Controller('App.Controller.FooBar') is $(el).app_foobar().

Thanks!

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

1 participant