Re : Nested model canjs
Thanks for the reply, but the given example at the above link is not working, I understood some part of that, but the basic problem with nested model is that, when I am creating a new library, at that...
View ArticlejQueryMX dowload page not working
Hi, I've been trying since yesterday download the last version of jQueryMX but something is wrong with the page.¿Am I doing something wrong? I tried with different browsers.Thank you!
View Articlesteal/buildjs not able to parse js file encoded in UTF-8 with BOM?
Hello,I had a few JavaScript files encoded in UTF-8 with BOM and I tried to run buildjs to minify the files but some error parsing messages showed up.Then I changed the encoding to UTF-8 without BOM...
View Articlesteal/generate functionality?
Is the generate functionality still supported? ./js steal/generate/controller [NAME] Generates a Controller file./js steal/generate/model [TYPE] [NAME] Generates a Model filePatrick
View ArticleRe : steal/generate functionality?
not via steal. Only the jmvc-generators are supported like:./js jmvc/generate/app appName
View ArticleRe : jQueryMX dowload page not working
There is no jQueryMX download anymore. It's been split into 2 different projects:http://canjs.comhttp://jquerypp.com
View ArticleRe : jQueryMX dowload page not working
Ok, thank you. I was trying to make a custom download from http://javascriptmvc.com/builder.html assuming that jQueryMX was splitted in canJS and jQuery++.Regards
View ArticleRe : Justin - Added failing testcase - Is there a better way to load base...
JustinThere are 3 issues but only first 2 are critical.Also is the approach correct? Is there a better way to do?Here is the failing test case. https://github.com/bitovi/steal/pull/162
View ArticleRe : can.Component
Is this stuff just proof of concept or do you have any working code?Where do you see a can.Component fitting into the MVC paradigm? Seems like it is a mini MVC in it own.Do you feel this is moving away...
View ArticleRe : can.Component
Working test code:https://github.com/bitovi/canjs/blob/canComponent/component/component_test.js#L13https://github.com/bitovi/canjs/blob/canComponent/component/component_test.js#L141It's not moving away...
View ArticleRe : can.route mangles hash value when you change it to a value including...
I encountered this too. The problem is once additional & is appended after #!, the route definition is not found anymore.
View Articlehow do i access the data in the template?
In show.ejs:<%= JSON.stringify(this) %> results in {}<%= JSON.stringify(info) %> error message "ReferenceError: info is not defined" Controller:steal('can','./init.ejs','./show.ejs',...
View ArticleRe : how do i access the data in the template?
Does a Hotspot instance have a property named info?What's going on in the show function? You are rendering your Hotspot instance into this.element twice.
View ArticleRe : how do i access the data in the template?
console.log(hotspot) result:{"info":{"id":"L199667","locID":"L199667","countryCode":"US","lat":"37.2406147","lng":"-121.869003","locName":"Alamitos Creek...
View ArticleRe : how do i access the data in the template?
this.info or info would work to access the info property of the hotspot. If you want to use livebinding, you'll want to use this.attr(...). Of course, if you are in a can.each, $.each or similar, the...
View ArticleRe : how do i access the data in the template?
The show.ejs is there.ReferenceError: info is not defined this results in {}
View ArticleRe : how do i access the data in the template?
You are passing the showEJS renderer function to the .html function in the first line of show(). .html is expecting the name of a template or the path to one, not a renderer function.In the steal...
View ArticleIssue with jsonp
I'm trying to get data from a service that returns it wrapped in a function but it doesn't seem to be working and I'm not sure why. I can see the data coming back fine, but then nothing else happens....
View ArticleRe : how do i access the data in the template?
I think I am in business now. It seems the renderer does not work with a deferred for me.This is the solution: show : function(locID){ this.element.html('birds/controls/hotspots/show.ejs',...
View Article