Re : Problems to display a view .ejs
Any suggestions why I have this => <div id="category_list" class="category_lists">//views/category_list.ejs</div> instead of having the view content ?Thanks
View ArticleRe : can.batch.start callback called too early in can.Map.extend() init?
"List inserted event"? Do you mean can.List "add" event? What about if someone uses can.Map without a can.List; how would you capture when that is added to the DOM?And while it may be sophisticated on...
View ArticleRe : can.batch.start callback called too early in can.Map.extend() init?
"List inserted event"? Do you mean can.List "add" event? What about if someone uses can.Map without a can.List; how would you capture when that is added to the DOM? I think you have this issue because...
View ArticleRe : can.batch.start callback called too early in can.Map.extend() init?
I suppose, but that complicates the API.
View ArticleRe : can.batch.start callback called too early in can.Map.extend() init?
This is using batch for something they are not designed to be used for. A more correct, but difficult, approach would be to support pause / resume and default events. This way, you could mix in...
View ArticleRe : can.batch.start callback called too early in can.Map.extend() init?
@Justin MeyerSo a like approach could be implemented with view helpers now.Is using custom attribute can-something supposed to be a way of hooking up some plugins (controls) on the element?
View Articlecan.Control ???
findAll: 'GET api.php/stores-for-you?', findOne: 'GET api.php/stores-for-you?pid=977&sid=5938&max_fav=3&max_reco=3' so here I wanna access the particular stores-for-you where I can be...
View ArticleRe : can.batch.start callback called too early in can.Map.extend() init?
Justin, what I'd envisioned does not affect default behaviour at all, or at least very much. "remove" is called when an element is scheduled for removal and the original API such as length treats that...
View ArticleRe : can.batch.start callback called too early in can.Map.extend() init?
Warning ... this got a lot longer than I expected ...This needs to be View-Model. It doesn't need to be as we can add view-helpers that accomplish this. And, it should certainly not be view-model. It...
View ArticleRe : Problems to display a view .ejs
Tryel.append(opt.template, opt.models || {});Basically in order to render a view you always have to at least pass an empty object as the second parameter because otherwise the original jQuery modifier...
View ArticleRe : can.batch.start callback called too early in can.Map.extend() init?
can.view.Scanner.attributeWhat is 'removing' event?
View ArticleRe : can.batch.start callback called too early in can.Map.extend() init?
Justin, I see what you're saying about {{#if}} not working with transitions. My solution only works with removing from extended can.Lists and adding in general. I'll have to really think about this,...
View ArticleRe : can.batch.start callback called too early in can.Map.extend() init?
Justin, how about simply extending can/view/live.js' remove()?
View ArticleRe : can.batch.start callback called too early in can.Map.extend() init?
Steven,It is obviously a flaw solution to extend model layer just for the sake of ability of visual transitions (at least in general case). I think that 'removing' is meant to be some new event that...
View ArticleRe : can.batch.start callback called too early in can.Map.extend() init?
Alex, yes, I realized this and more when I discovered:Line 231 in can/view/live.js (v2.0.4) handles the removal of {{#each}} elements.Line 178 in can/view/elements.js (v2.0.4) handles the removal of...
View ArticleRe : can.batch.start callback called too early in can.Map.extend() init?
The new rewritten version no longer requires the wrappers that I'd used before and works in these cases:{{#if message}} <div class="example" can-transition="true"> {{message}}...
View ArticleRe : How to implement nested list models with references to parent model
if address is not an independent entity and it is only accessible via its parent, then build a separate model for address may not be a good idea.Address maybe quite independent in terms of actions you...
View ArticleRe : Adding support to steal to load pre-built modules
JusitnCan you help me in adding this feature to steal. Give me some pointers and I will try to add this feature.
View ArticleRe : Adding support to steal to load pre-built modules
If you are Steal'ing common from within filemanager, would this already work as you need?As long as common doesn't Steal filemanager, when you build common, it wouldn't rebuild filemanager. But when...
View Article