"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().
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!