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

Re : Is it possible to resolve a $.Deferred when a JMVC app has finished...

FYIEventually I came to the conclusion that I was entering FuncUnit territory and should make use of wait() etc. However to remedy the problem I mocked any test dependency by redeclaring the controller...

View Article


Re : funcunit, funcunit/run not found when running test from terminal

Ok, found that there was a change to a recent version and the command now looks like:./js funcunit/open/phantomjs funcunit/test/autosuggest/funcunit.htmlPhantomJS now works for me but not selenium due...

View Article


Re : javascriptmvc 3.2.4 can't update?

the actual url it tries to access gives a "410 Gone" message.https://github.com/api/v2/json/commits/list/jupiterjs/funcunit/master

View Article

Fixure - success callback never called

Hello,I'm relatively new to JMVC and I'm having a problem understanding why my success callback is never called when returning success from a fixture. I've read through the docs and looked around for...

View Article

Can.view Deferred getting resolved after controller has been destroyed

Hi All,I have a controller that is rendering a view which has deferreds as parameters. steal().then(function() {  'use strict';  can.Control('MyControl', {}, {    init: function() {      this.render();...

View Article


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

Checking if the element is there sounds about right.

View Article

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

I've not used the proxy() method before but one way I got around this problem was to keep deferreds out of render() and only call render() inside of the done() callback of the...

View Article

Re : ajax call to database example

Name and description being the 'fields' or 'columns' in the model... according to the fixture.Here's the result of my research... maybe there's something in here that will show my mistake.// original...

View Article


Re : Fixure - success callback never called

 This works fine for me:$.fixture("/myuri", function(original, settings, headers){        return [200, "success",{            "notifications": [                {                    "id": 1,...

View Article


Re : Fixure - success callback never called

Oops, I had my function call happening before a redirect instead of having the redirect happen on success of this function call, thanks.

View Article

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

I've not used the proxy() method before but one way I got around this problem was to keep deferreds out of render() and only call render() inside of the done() callback of the deferred. That just...

View Article

Listening to Model Events from Controller - updated.attr on namespaced object?

Hello,I've been successfully listening to controller option model events e.g"{model} updated.attr": function() { ...But I can't seem to do this when referencing models via...

View Article

Rendering large views with ejs and live-binding.

Hey,I've prepared a little example of a year- calendar-view (with very little css).In this example I'm creating 365 divs. In these divs I need to put some todos on some dates.I've tried to do this by...

View Article


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

I concur. Checking for this.element is the simplest solution. I have encountered this situation several times and have used this as my solution. For some reason, I don't like having to do it, but it...

View Article

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

Okay I will check to see if this.element exists before trying to modify its HTML. Thank you all for the responses!

View Article


new

I am new to javascriptmvc. I want to develop a Phonegap application that interfaces with php/mysql. I want an example that will walk me through javascriptmvc framework together with php/mysql.

View Article

Upgrade JavaScriptMVC 3.2 to 3.3

Hi all,We are trying to upgrade our stack to 3.3 from current 3.2. Haven't been able to locate appropriate link to 3.3 in http://javascriptmvc.com/builder.html and the only source appears to be the...

View Article


Re : CanJS and Bitovi

@Justin - are there any updates to proper release date of 3.3? - Thanks

View Article

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

bump

View Article

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

Those events are not triggered on the class. Sent from my iPhoneOn Jul 23, 2013, at 4:10 AM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:

View Article
Browsing all 3491 articles
Browse latest View live