Re : Is it necessary to use 'options' when referencing class static properties?
Cheers guys, that's cleared it up for me. I was also confusing prototypal instance properties with static properties *doh*!
View ArticleEmpty route gets called unexpectedly (live example attached)
Code is here: http://jsfiddle.net/GQkUs/1/Click on the second button "popular" will trigger the empty route, this is very confusing, why? Shouldn't it be triggering nothing at all?
View ArticleHelpers in Partials
I'm having an issue accessing mustache helpers inside of partials. Is this supported? I have a fiddle that demonstrates this: http://jsfiddle.net/5zpFz/124/Thanks
View ArticleRe : JSMVC vs CanJS vs DoneJS
Transition is not too heavy for CanJs.... I am just wondering about StealJs changes : I read that StealJs is ready for production. But I cannot understand how to migrate.I moved my new apps from...
View ArticleCanJS for jQuery 2
Will there be a CanJS version optimized for jQuery 2 and up, as in "does not support Internet Explorer 6, 7, or 8" and is smaller and faster ?Thank you,Udo
View ArticleRe : CanJS for jQuery 2
Probably eventually. Zepto is currently supported btw. Sent from my iPhoneOn Apr 28, 2013, at 4:34 PM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:
View Articlefuncunit/run envjs file not found error?
I just downloaded JavascripMVC 3.2.4 and am walking through the introductory tour of the Cookbook app on Windows 7.Under "Testing Cookbook", to run headless it says:js funcunit/run envjs...
View ArticleRe : EJS and @@!!@@
I cam across the same problem. The solution is, you cant use the render function returned by "can.view()" with live-binding. You have to use "can.view()" directly to append the model to the template....
View ArticleRe : Helpers in Partials
I sort of found a solution in case anyone else runs into this. I updated my jsfiddle http://jsfiddle.net/5zpFz/127/ Basically I need to call a template that includes a partial, inside of the partial I...
View ArticleRe : Need feedback on two-way bindings
This is a real neat example and it helped me debug some issues I was having in my code.Is there a specific reason for reassigning these properties, or it just shorthand to avoid typing...
View ArticleRe : Need feedback on two-way bindings
Those two lines are just there so he can call this.model and this.attr instead of this.options.model and this.options.attr.Bitovi published a solution that is similar here. The solutions are very...
View ArticleRe : Need feedback on two-way bindings
@mastablas Yes as Curtis said it is just to avoid writing this.options.model.@Curtis A generic solution would be really great, two way bindings in forms is something that would be excellent in CanJS....
View ArticleRe : Templated Event Listener Handler Debugging Tools
My responses keep getting marked as spam; is there a reason why?
View ArticleRe : Templated Event Listener Handler Debugging Tools
It's the domain you are hosting code on. It has a word that would be pretty high in the black list of any spambot.Anyways, about your questions. The only way to see bound events is to bind them, so you...
View ArticleWhy the empty route fires twice?
Consider the code here: http://jsfiddle.net/jz4r5/2/You can see the empty route gets fired twice, it confused me very much. Please enlighten me where has gone wrong.
View ArticleStealJS: load CanJS without jquery
Hi everyone,I'm working with javascriptmvc (3.3) so with canJS instead of JqueryMX. In my application I need to include jquery as soon as possible and I need to load it separately from my...
View ArticleRe : CanJS for jQuery 2
jquery 2 is shrinked by 12% - not a big achievement, and I didn't see any benchmarks that would stand out 2.0 performance comparing to 1.9.
View ArticleRe : Templated Event Listener Handler Debugging Tools
Curtis Cummings said:The only way to see bound events is to bind them, so you have to execute the code. This is not the answer that I wanted, and I might try and dig deeper into the actual JavaScript...
View ArticleRe : StealJS: load CanJS without jquery
If you assign a config to window.steal (before loading stealjs), you can use it to tell stealjs which libraries you've already loaded/executed (so it won't load jquery by itself any more). Then, in...
View ArticleRe : Need feedback on two-way bindings
I think i stumbled on this at some point in the forums but can't seem to find it again, but people were talking about a two way binding that went from a text input to a checkbox.So the text input would...
View Article