Re : CanJS Large Scale Application
+1 for using html5 history API instead of hash fragment.
View ArticleRe : Unable to load the app controller using steal
You will have to give us more info, like the line it is breaking on/etc. Sent from my iPhoneOn May 2, 2013, at 4:06 AM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:
View ArticleRe : Unable to load the app controller using steal
We are getting the above mentioned error in file "can/util/jquery/jquery.js" line number 35Please find the same source code in the below...
View ArticleRe : CanJS Large Scale Application
I understood your example, but....you make interaction with your components(widgets) directly, what i want to do is like have a widget (independent from the others) that can publish/subscribe events...
View ArticleRe : CanJS Large Scale Application
Take a look at these two videos (Part 1 | Part 2) that explain how Observes make building large applications with many widgets easy.You listen to changes on an Observe and each widget can decide what...
View ArticleRe : CanJS Large Scale Application
just to make sure this isn't the source of confusion ...can.Observe is an observable ... it's not what is used to observe ... it's what is observed.
View ArticleRe : CanJS Large Scale Application
exactly...is observable...can be observed. Let me explain something, my "pages" will be dynamic meaning that I do not know wich widget will be loaded, so how can I decide where to put observes ?I just...
View ArticleRe : CanJS Large Scale Application
Because an observe includes state. And it can provide rules for mutating that state (say changing region must remove selection of country). I've talked about this on a bunch of forum posts. I'm betting...
View ArticleRe : CanJS Large Scale Application
Don't forget about can.compute (or observe.compute('attrName') ) with which you can easily "split"/share you observable state and pass to depended modules only parts of that state that they need to...
View ArticleRe : Unable to load the app controller using steal
Do you have a stealconfig.js file in place?I noticed the zip does not include one or the can directory.
View ArticleRe : Unable to load the app controller using steal
Please find the latest files in the below linkhttps://www.dropbox.com/s/850s41uk3ti1xyv/usmleqbank.zip
View ArticleRe : Templated Event Listener Handler Debugging Tools
Could browser source code be modified to expose attached event listeners outside of code execution?btw Visual Event 2 has a nice write-up on this:http://www.sprymedia.co.uk/article/visual+event+2 I...
View ArticleSteal Buildjs try to find index,html.js
Hi,I'm trying to compress my JMVC App via stealjs.I build a phonegap app with JMVC and load all scripts and css-files via stealjs.When I start the buildjs I get following...
View ArticleHandle Failed update request with TypeConversion
When I call model.save(), the conversion will occur before the ajax call to server. Hence if the ajax call is failed, the conversion has already happened i.e. model's data is already changed. And there...
View ArticleRe : Steal Buildjs try to find index,html.js
When steal is asked to load a module with no extension (like "inventory/index", from the command line above), it always expands the last part as though it were a self-contained module:...
View ArticleRe : Steal Buildjs try to find index,html.js
Oh sorryIndex.html is my main html fileThere's a js file included.It's named loader.jsThis script loads all via steal
View Articlepossible to hook into rendering?
I'm wondering if I can register a callback function to be called each time the contents of my mustache template are re-rendered due to an observe changing? In other words: a single catch-all as opposed...
View ArticleCanJS - Mustache strange behavior
Hi guys,I'm having problem using mustache in my application.I've stolen 'can.....mustache' and I've a Model object with this structure:// widgets Models.LayoutWidget = can.Model({...
View ArticleRe : CanJS - Mustache strange behavior
so how to solve this situation? I've found even that {{data 'widget'}} doesn't work, in fact if i try to retrieve the model withcan.data(el, 'widget')it gives me 'undefined' !!! Dunno what to do..and...
View ArticleRe : After a fragment is added to the DOM, why updating an observable updates...
Just for the record, this is one using can.compute():http://jsfiddle.net/6uxqj/43/when the observable is an object:http://jsfiddle.net/6uxqj/46/
View Article