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

execution of steal causes DOM nodes to lose data attribute data

http://jsfiddle.net/johngslater/juCaP/1/note: after executing steal the fill method is no longer available

View Article



Re : execution of steal causes DOM nodes to lose data attribute data

This isn't related to steal or data attributes.Your example is showing a method on jQuery being removed: $('#fill').fillsLikely when you load swipe, you are loading a 2nd version of jQuery.

View Article

Re : Stealing Can with MooTools

OK. I've created a pull request with two new tests.One shows the recursive deps not being loaded. As discussed this is a known issue.The other shows the incompatibility of steal on Mootools. Mootools...

View Article

CanJS Community Hangouts

Every Friday we have a community hangout where we talk about the latest CanJS developments and end with an Open Q+A.  Here's a link to...

View Article

Re : CanJS Community Hangouts

For anybody who missed the past hangouts, it looks like the videos are still available: https://www.youtube.com/user/justinATbitovi/videosThe newer videos (including this week's) seem to be available...

View Article


can.Deferred isResolved?

The codevar def = can.Deferred()def.isResoved()gives an errorUncaught TypeError: Object #<Object> has no method 'isResoved' http://jsfiddle.net/xKc3H/258/What is wrong?

View Article

Re : can.Deferred isResolved?

You misspelled resolved

View Article

Re : can.Deferred isResolved?

Yes thanks, but isResolved doesn't work either in the fiddlehttp://jsfiddle.net/xKc3H/329/Uncaught TypeError: Object #<Object> has no method 'isResolved'

View Article


Re : can.Deferred isResolved?

CanJS wraps jQuery for deferred objects. In this case, deferred.isResolved() was depreciated in jQuery 1.7 and removed in jQuery 1.8.Use deferred.state() === 'resolved' instead.

View Article


Re : can.Deferred isResolved?

Thanks,  Tom, then can.Deferred docs are out-dated.

View Article

Page Refreshes By Itself on Invisible "Errors"

I have created a simple webapp for mobile device and found a strange behaviour that is quite random, and difficult to debug.In most cases, when there is an obvious javascript error, (and in most...

View Article

Re : Page Refreshes By Itself on Invisible "Errors"

Try to handle "submit" event on the form and preventDefault.

View Article

Advice needed JavascriptMVC application upgrade

Hi,   I am very new to JavascriptMVC. We have an application that was built using JavascriptMVC about 3 - 4 years back. Its really a Rolls Royce application. Built to fit the needs and very intuitively...

View Article


Re : Advice needed JavascriptMVC application upgrade

I would first make application work.

View Article

Re : Advice needed JavascriptMVC application upgrade

The application does work properly.

View Article


Trouble trying to create a CanJS small widget

So using the following template:  <form enctype="multipart/form-data" novalidate="novalidate" method="post" class="form-horizontal" action="/conta/Plati/ExecutaSelectieDosare">...

View Article

Re : Advice needed JavascriptMVC application upgrade

As the question, so the answer. I would first find out what doesn't work exactly and does it relate to framework's code your dev's code.

View Article


Re : Trouble trying to create a CanJS small widget

Yes.  I tried your code out in a fiddle, and the problem is the {{#each}} helper you are using with Dosare.  It is iterating over the promise returned by Dosare(), and not waiting for it to resolve, so...

View Article

Re : Trouble trying to create a CanJS small widget

I've tried that now , and this time it only shows one empty row, instead of 8. 

View Article

When using a Component, when do I choose between the init method of the...

I see that from both I can have access to the scope, so I'm not really sure what the difference is between them.

View Article
Browsing all 3491 articles
Browse latest View live




Latest Images