Re : Strange live-binding behavior with input elements
We're also in process of translating all EJS templates into stache. Of course it's time consuming but it seems to me that it's neccessary. can.stache is much faster (http://t.co/WqNmYRr5bD) and there...
View ArticleRe : Bug in can.route.map / can.map.define?
Oh, I get it now. Thank you for clarification! :)
View ArticlePerformance when rendering large table with can.Components
I am investigating if we can use can.Components in following situation.We have a large dataset (50 columns / 200 rows) in which each table cell should have live binding.Fiddle:...
View ArticleSteal 3.3 and Funcunit 3.3 with javascriptmvc 3.2
Guys, is there way to use javascriptmvc 3.2 steal and funcunit replace by those with 3.3 version ? My reason for this, it's because we are developing an app with javascriptmvc3.2 and i want to run...
View ArticleRe : Contacts Example Errors
I solved it by using the JavaScriptMVC 3.3 by the download link and not using the git one (master brach), then solved the LESS compilation erros overwriting the less.js version 1.3.0 with the 1.3.3...
View ArticleRe : Contacts Example Errors
Looking more in deepth I found out that there was a commit in the steal-legacy repository to revert from less.js 1.3.3 to 1.3.0:(the comment reports 1.1.3, but it is a typo )This break the contacts...
View ArticleRe : Performance when rendering large table with can.Components
Latest iteration with lazy rendering and live binding:http://jsfiddle.net/jeroencornelissen/a7sUc/10/
View ArticleRe : Performance when rendering large table with can.Components
Make sure you use {{#eachif you are incrementally adding records.If you'd like us to take a look at improving the performance of the example, can you create a benchmark similar...
View Articlecan.route change event does not always fire when route has deeper level params
Hi,My application has a search form, where the user can enter one or more filter criteria, and a Search" button. When the "Search" button is pressed, the filter criteria is "pushed" to the route (the...
View ArticleAccessing element from component scope
I have a cancel button inside my component, this button calls a cancel function in the scope, this in turn triggers an event on the component element.At the moment I am doing this:...
View ArticleRe : A new steal is on its way
Just staring to catch back up on the latest Bitovi developments and would be interested in getting up to speed on this.Is there any documentation? Future talks, etc in the works?
View ArticleRe : can.route change event does not always fire when route has deeper level...
I've found using `define:` to declare nested data works: http://jsfiddle.net/qYdwR/1827/
View ArticleRe : can.route change event does not always fire when route has deeper level...
OK,So can.Map.define in conjunction with can.route.map make nested route params work. Thanks!Even if it fires the change event twice for each new value of the route, and I did not found a way to...
View Articlecan.view.render returns document fragments instead of strings
I am having problems with can.view.render. I assumed it returns a string of html but it returns a document fragment.See following example:http://jsfiddle.net/jeroencornelissen/Xd8W4/1/The table looks...
View ArticleRe : Accessing element from component scope
can.Component.extend({ tag: "clients-form", scope: {...}, events: { '.cancel click': function () { this.element.trigger('cancel'); } }});Something like...
View ArticleRe : Accessing element from component scope
Use events to access the element.Our you can access it via can-click event handler cancel: function (context, el) { el.closest('clients-form').trigger('cancel'); }
View ArticleRe : can.view.render returns document fragments instead of strings
can.Stache works with document fragments where can.Mustache works with strings.In the case of what you're seeing here, you probably aren't noticing that wrapping a document fragment with a jQuery...
View Articlesteal-0.2.2: is steal('module1').then( 'module2', function(){...}) supported?
First of all this version will be indeed a game changer. Kudos. All design decisions seem to be to the right direction.One question though. I started a new branch on a project and I'm trying to migrate...
View ArticleRe : steal-0.2.2: is steal('module1').then( 'module2', function(){...})...
After looking a bit deeper in the code it seems that it's not there anymore (it was deprecated in 3.3 afterall). Maybe it's time to move to meta deps configuration instead of steal.then.
View ArticleRe : method/event after the final rendering of the view for the attachment of...
I have the same issue, I would use a sortable list JQuery plugin in conjunction with ejs template and Model.list Ajax query. help and an example would be appreciated
View Article