Quantcast
Browsing all 3491 articles
Browse latest View live

Re : When can.Component updates the view? Is there any callback or event?...

No answers, maybe I'm not clearly explained my issue? 

View Article


Re : When can.Component updates the view? Is there any callback or event?...

<div can-inserted="{someMethodOnYourViewModel}">

View Article


Re : When can.Component updates the view? Is there any callback or event?...

Thank yo so much Justin, I tried can-ready, can-updated but It's so simple thank you a lot. So happy that you answered on my question! Good luck!

View Article

Controller decoupling

Hello, I am involved in a JavascriptMVC v.3.2 project and recently I had to deal with this situation. $.Controller('ATable', {} , {       ...             validateNow: function() {                   ......

View Article

Error code 9 - building with jmvc 3.3

Hi guys, After few weeks without building our app I'm in front of a cornelian dilemma !   app/webroot/js$ ./js ./steal/buildjs ./app/pb.html Building to ./app/  opening ./app/pb.htmlcode!!!!!!!!!!!...

View Article


Re : Error code 9 - building with jmvc 3.3

Solved! A very specific code not supported by rhino broke the build almost silently. Escape it as mentioned in the documentation solved the issue.             if(!steal.isRhino) {                 var...

View Article

Delegating "inserted" event

Is it possible to delegate "inserted" event (http://canjs.com/docs/can.events.inserted.html) to have something like (to listen for sub-items insertion): can . Control . extend ({ ".item inserted" :...

View Article

mustache instead of ejs

Hi, I'm coming from a backbone/underscore development experience and for my next project I was thinking to try something new. I'm interested in using canjs and ejs as the template engine. I immediately...

View Article


Re : mustache instead of ejs

we are using stache: http://canjs.com/docs/can.stache.html which is faster than EJS and works with can.Component.

View Article


Re : SASS suport in StealJS?

We have one now https://github.com/stealjs/steal-sass

View Article

Re : Error when generating model with JMVC 3.3

Ive been having this issue for as long as i cab recall too. 

View Article

Re : Error when generating model with JMVC 3.3

Thanks for reporting!  I added this as an issue to DoneJS: https://github.com/donejs/donejs/issues/1 , which will be JMVC 4.0.  

View Article

Any router/view example app?

Hi, I was wondering if there is an example app demonstrating canjs routing/views functionality. I'm searching something very basic like a documentation website to better understand canjs features. I...

View Article


global app state

Have been away from CanJS and Javascript in general for a while, but now back for more. I am trying to understand the best way to maintain a global 'appstate' observable (sorry: map). I can come up...

View Article

Build is broken if I include CanJS node package

Hi. When I build one file that includes all my scripts and dependencies everything is fine. But when I test build in a browser I get error: Potentially unhandled rejection [3] Error loading "jquery" at...

View Article


each iterator value

is is possible to to like this {{#each items "item"}} //refere tho current item as "item", not {.} or `this` {{item}} {{/#item}} ?

View Article

Re : each iterator value

no, but you could create a helper that does that.

View Article


Re : each iterator value

I think it worth adding as feature (I saw ember supports a like sintax)

View Article

"each" helper: change item position without removing and inserting...

If item is removed from list (with splice) or inserted each helper just removes or insertes corresponding template of item in DOM. Is it possible some how to make item position change without removing...

View Article

Re : "each" helper: change item position without removing and inserting...

the sort plugin does this.  You need to make a move event.

View Article
Browsing all 3491 articles
Browse latest View live