Re : CanJS 1.1.4
I had the Range Error when I used can.bind instead of can.bind.call I got confused by the documentation sorry if this is not relevant.
View ArticleRe : CanJS 1.1.4
I actually ran into that, too expecting that can.bind(element, event, handler) would work.Did that only happen after the 1.1.4 upgrade?
View ArticleRe : can.view.render - render (ejs) to string from view function
Yes. It got added in 1.1.3, check out this Fiddle: http://jsfiddle.net/DuQXT/
View ArticleRe : can.view.render - render (ejs) to string from view function
Oh, thanks! Ok still was on 1.1.1 in the app.
View ArticleRe : can.view.render - render (ejs) to string from view function
Admitted, according to really strict semantic versioning this should have bumped the minor version because it was a non-breaking API change. Still trying to get better at it ;)
View ArticleA question regarding rendering many items in relation to performance
Hey guys, firstly big thanks for all the people involved with JMVCMy question is basically this... We have a product browser powered by a ProductBrowserController which renders products, behind each...
View ArticleRe : Weekly Widgets
Maybe it is also worth looking into the tutorial style done by djs: http://dailyjs.com/2013/02/07/backbone-tutorial-11/Created something like that with can.js. Or type of sample application made in...
View ArticleRe : A question regarding rendering many items in relation to performance
Don't understand what is meant "calls its render function". What is product browser?Let say on the left you have list of products, on the right - selected product rendered specification. Right? If...
View ArticleRe : A question regarding rendering many items in relation to performance
Let me try and clarify...Say you have a shopping cart... categories on the top and products in below, say in rows of 3 products per row kind of like:Cat1 | Cat2 | Cat3 ProductSearch...
View ArticleRe : A question regarding rendering many items in relation to performance
Don't get it:"loops over them instatiating the ProductController for each product which gets the data for that specific product in the init function"why? What is the purpose of ProductController?
View ArticleRe : CanJS 1.1.4
I'm getting those warnings of the migrate plugin with jQuery 1.9.0 and jQuery 1.9.1 in combination with canjs 1.1.4 (amd):JQMIGRATE: Logging is active...
View ArticleRe : CanJS 1.1.4
Is there a way to make sure if it is not in another part of the code? I'm pretty sure that these are not used anywhere in the CanJS code (except maybe the jQuery haschange plugin which is not really...
View ArticleHow to load raw css content using steal? Is it good practice to use...
In our project we are working on theme roller.In the theme roller page user can select different options for customizing the UI like color, font etc and click on Apply.Apply event handler will make...
View ArticleFirst event after resume is ignored
Hi,This might be a mistake in my code but i'm not sure how to solve it. I have a form which sends ajax request on submit and if for example email is already used, it returns an error. Now, i tried to...
View ArticleRe : CanJS 1.1.4
http://blog.jquery.com/2013/01/15/jquery-1-9-final-jquery-2-0-beta-migrate-final-released/No matter which version of jQuery you use with the plugin, be sure to open the browser’s console to see what...
View ArticleRe : A question regarding rendering many items in relation to performance
Product controller has listeners which listen on clicks for adding products to shopping cart and displaying product info
View ArticleRe : A question regarding rendering many items in relation to performance
Is that the only function of the control? How many lines is controller code, 10? First I don't think that this is the problem for performance, but anyway you don't want controller that controls one/two...
View ArticleRe : CanJS 1.1.4
Like mentioned above, I use:jquery.colorPicker.min.js,the complete jquery-ui-1.10.0.custom.min.jsand these files that I run through the Google Closure compiler together with my own...
View Articlecan.Observe.setter vs. .bind( 'change', . . .
What would be the advantage of usingcan.Observe.setterinstead of"obsrv.bind( 'change', function( e, attr, how, newVal, oldVal ) { . . . "and writing change functions for needed attr targets?
View ArticlePage refresh problem and maintaning user's page session
Hi All,I am new to JMVC. We are using JMVC for our application. Our application is completely of AJAX based application where we have only single page. We also have login/logour options. We are...
View Article