Re : can.stache in IE 11
Standalone. I'm loading can.jquery.js, can.map.delegate.js, and can.stache.js Given 'templates/index.stache' is <div id="user-info"> <div class="content"> <div...
View ArticleRe : can.stache in IE 11
Tried removing the mustache tags from the index.stache file and still get the error...
View ArticleRe : can.stache in IE 11
Made a simplified example that fails in IE 11 => Example of Failing Code
View ArticleRe : Steal + Can.js (minor branch) ReferenceError: window is not defined
I thought I had fixed all of these. Fixing them now.
View ArticleRe : Steal + Can.js (minor branch) ReferenceError: window is not defined
fixing them here: https://github.com/bitovi/canjs/tree/removing-window
View ArticleUsing can routes
Hi All I want to learn how to use the can router better and how are other solving the following. I have an app that have routes like: /#users // Show list of users /#users/1 // show user 1...
View ArticleRendering Map and Model using mustache #each helper
Hello everyone, I tried to render a can.Model.extend using {{#each myModel}} helper with {{@key}} and {{.}} to display my model. It displays perfectly when I try to add or remove an attribute to my...
View ArticleRe : Using can routes
I think you could implement something like this using view.attr ( http://canjs.com/docs/can.view.attr.html ), you could bring it to the table as separate can.js plugin.
View ArticleRe : Steal + Can.js (minor branch) ReferenceError: window is not defined
It's been merged into minor. Sent from my iPhone On Aug 28, 2014, at 12:59 AM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:
View ArticleRe : Steal + Can.js (minor branch) ReferenceError: window is not defined
Ok build is working now with minor. But without this PR https://github.com/bitovi/canjs/pull/1210 can-events do not work.
View Articlecan.List / Map in AJAX call?
JSFiddle worth of thousand words :) http://jsfiddle.net/hd520x0q/1/ Why when I try to pass can.List or can.Map as data param to can.ajax it gives Uncaught TypeError: Cannot read property 'batchNum' of...
View Articlenewbie - youtube video from St Louis meetup
I'm new to CanJS. Trying to learn as much as I can. I found this Youtube video: https://www.youtube.com/watch?v=h-wHDSLOwis Is there another video of this presentation without all of the interruptions...
View ArticleparseModel automatically returns an observable? I just want the raw response...
With can.Model.model if I returned the raw value passed from a findOne for instance I'd get my raw JSON response. Now with parseModel I get a can observe even though I don't need that here. Can I not...
View ArticleRe : can.List / Map in AJAX call?
You should serialize can.Maps by calling .serialize() method prior to passing them to .ajax call -__-"
View ArticleRe : can.view as AMD returns can, why not can.view?
I think it was because of view precompilation in the old Steal. Not sure if this is still relevant. The problem is that changing this would be a breaking API change so it can't be fixed till version 3.
View ArticleError when generating model with JMVC 3.3
Hi, Getting the following Error if I try to generate a Model: command: ./js jmvc/generate/model app/models/test Error: ! Error: folder app/models/test/test.js does not exist! Can i create a Model only...
View Articlecanjs + mustache + recursive template rendering
hi all,i tried to render mustache templates recursively like done in the testcase. my code looks like this: javascript: // controller that will care about events var StructureController =...
View Article