Quantcast
Channel: JavaScriptMVC Forum
Browsing all 3491 articles
Browse latest View live

Re : Can.view Deferred getting resolved after controller has been destroyed

One of my colleagues found another way and that is to wrap this.element with jquery $(this.element). If this.element is null, then we get back an empty jQuery element which should not error out even if...

View Article


canjs adding wildcards to a route definition

hello, i want to use wildcards on the definition of the routes, on the controllers. i made some changes in order to do that, but i would like to include this as a plugin or something. could you helpme....

View Article


Re : Upgrade JavaScriptMVC 3.2 to 3.3

CanJS === JavaScriptMVC 3.3 -> false

View Article

Image may be NSFW.
Clik here to view.

canjs adding wildcards to a route definition

hello, i want to use wildcards on the definition of the routes, on the controllers. i made some changes in order to do that, but i would like to include this as a plugin or something. could you helpme....

View Article

Controller.update() doesn't unbind on mobile browsers?!

JMVC 3.2.4=========Hello there,We've got a bizarre bug with mobile browsers - Android Chrome AND iOS Safari, whereby controller update() binds seem to multiply. It works fine on Nix Chrome, Windows...

View Article


Re : Listening to Model Events from Controller - updated.attr on namespaced...

Thanks for your reply Justin.Do you know if there is any documentation defining events that are fired for classes and instances?

View Article

Need a steal/build primer

I've read the docs page (http://javascriptmvc.com/docs.html#!steal.build), but I would like to get a deeper understanding of how the build process works. Is there a more in-depth write up somewhere?The...

View Article

Swallowing Console Errors?

I just updated to v1.1.7 and it seems like when I have an error in my code it is not being displayed in the Chrome console. Errors have always been displayed in the console, including the line number...

View Article


Re : Swallowing Console Errors?

nothing has changed

View Article


Re : Controller.update() doesn't unbind on mobile browsers?!

bump

View Article

Re : Controller.update() doesn't unbind on mobile browsers?!

This only happens when calling _super from inside update.  A workaround is to call this.element.unbind() before making the call to _super.

View Article

Re : Swallowing Console Errors?

Hmmm. Well I am seeing some strange stuff then. Depending on where the error is, with v1.1.7 in place, execution halts, but nothing is written to the console.If I swap in v1.1.6 and reload, the error...

View Article

Re : Need a steal/build primer

Hi jester, better documentation about the build process is something we are working on. To answer some of your questions, the build process grabs all of your files (everything you steal) and bundles...

View Article


Re : Swallowing Console Errors?

Take a look at the following Fiddle:http://jsfiddle.net/thecountofzero/BuvnA/Or run this gist locally:https://gist.github.com/thecountofzero/6090327When run against v1.1.7 the following expected error...

View Article

Re : Swallowing Console Errors?

If you put a breakpoint on the console.dirs line and then step into, it brings you to var pipe = function(def, model, func) { var d = new can.Deferred(); def.then(function() { var args =...

View Article


Re : Need a steal/build primer

Thanks! This does help.Could you also describe what steal.loading(...) and steal.loaded(...) do in the production.js file?

View Article

Re : Need a steal/build primer

Which version of JMVC are you using?

View Article


Re : Need a steal/build primer

3.2.4

View Article

Maximum call stack size exceeded on model destroy

I know there was work done to fix this in v1.1.6, but I ran into this error today when destroying a model running against v1.1.7I have created a fiddle, albeit not a pretty or simplistic one, but one...

View Article

Re : Maximum call stack size exceeded on model destroy

Please reduce the fiddle's code, I will look at it and fix it. Thanks. Sent from my iPhoneOn Jul 26, 2013, at 10:30 PM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:

View Article
Browsing all 3491 articles
Browse latest View live