Re : IE EJS Issue?
Looks like it's line 440 of scanner.jsmyEval.call(out, 'this.fn = (function(_CONTEXT,_VIEW){' + out.out + '});\r\n//@ sourceURL=' + name + ".js");Changing it to the following fixes my...
View ArticleCanJS - Default route called when route is not default
HiWhy is the default route event listener called when changing the route to something else than the default. This only happens the first time and only if the hash is empty? Check out this pen:...
View ArticleRe : CanJS server side ?
Sounds great, but anyways , anyone ever tried to render templates with CanJS on the server side ?What is your experience using Steal to make you site indexable?What is you experience ?
View ArticleRe : CanJS server side ?
CanJS templates should be mostly compatible with Handlebars (which you can use in Node) and the NodeJS EJS renderer (although for live-bound EJS that uses .attr you'd need some kind of simple...
View ArticleRe : IE EJS Issue?
This again. Grr, I'm really wondering if there is a way to feature detect sourceURL support.
View ArticleRe : IE EJS Issue?
Instead of removing the sourceURL stuff, adding quotes around the file name seems to work too:myEval.call(out, "this.fn = (function(_CONTEXT,_VIEW){" + out.out + "});\r\n//@ sourceURL='" + name + ".js'");
View ArticleTypeError: elem is undefined
Hello,I just started with JMVC and after some coding my web-console of Firefox throws this error. But I dont really get where it comes from. When I click on the error I get referred to of jquery.js://...
View ArticleRe : TypeError: elem is undefined
The first parameter expected by a Control is an element. What you are passing it is a string. Also, I would put everything from prototype.settings in defaults. The title of "Login" you are passing the...
View Articlesteal/build.js is throwing errors from inside of comments
I have a few comment blocks that I use to generate some docs, but they're throwing errors when I try to build my script. I've had these blocks for quite a while, and haven't updated steal recently...
View ArticleDownload Builder Not Working
I'm not able to get the download builder to work at all. I've tried it in three different browsers, but it just gets stuck saying " Please wait while we generate your download"I'm just trying to...
View ArticleRe : Overriding controller destroy to wrap 'nulled' element - bad idea?
Bitovi Crew,When you get a chance, could you comment on this topic.
View ArticleRe : Overriding controller destroy to wrap 'nulled' element - bad idea?
I don't think rjgotten's suggestion of triggering events on the control's DOM element will work because the control's element (this.element) will be null and you'll get an error trying to call...
View ArticleRe : IE EJS Issue?
Isn't this how canjs currently is?Can we feature detect with an eval in a try/catch?Sent from my iPhoneOn Feb 14, 2013, at 9:49 AM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:
View ArticleRe : Download Builder Not Working
Looks like it crashed. I restarted and it looks to be good to go again.
View ArticleRe : IE EJS Issue?
No, the latest version on github does not have quotes around the name of the file.It looks like this:myEval.call(out, 'this.fn = (function(_CONTEXT,_VIEW){' + out.out + '});\r\n//@ sourceURL=' + name +...
View ArticleRe : IE EJS Issue?
Well the problem is that quotes around the filename for some reason doesn't do what it is supposed to in Firefox and Chrome.
View Articleget rid of data-view-id attribute on rendered html?
When I render ejs template with templateFunction.render({..}) on each div there appears ab attribute data-view-id? It seems that I don't really need it. Is it possible to get rid of it?
View ArticleRe : Weekly Widgets
Here's what I'd like to see.A non-linear slider that provides a range of 0 to Infinity.Not sure how the transition is made to Infinity (right end of the slider), but it is something I've been thinking...
View ArticleRe : Weekly Widgets
I guess I have to figure out some max value that will represent unlimited since Infinity is not a realistic option.
View ArticleRe : Weekly Widgets
The issue has little to do with can.js and even programming I think =) It is more matter of UI design. If you have desecrate options for the bandwidth (between 0 and infinity) one way is to have usual...
View Article