Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : CanJS and Ruby On Rails

$
0
0
If I move all the javascript at the bottom of the page the same problem happens as the control needs to run first as the 'app-template' contains the <toolbar> element and the component can't find that element so it will error as before.

The SMT gem was working as it was doing the application.mustache fine. Or have I mis-understood what your trying to say?

Do you have an example you can show / share? Would be good if someone could join in, its driving me crazy that I can't even add html to the view.

Cherif, The gist has templates within the show.html.haml. I did start off with separate template files but changed to inline templates to reduce things that could go wrong.

Viewing all articles
Browse latest Browse all 3491

Trending Articles