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

Re : Production JS not right when creating simple "myapp" example...

... suffering from a fit of brief incompetency.  Checked out a stable version of steal and all is well.  FYI, the current master branch of steal is failing on a basic build of the "myapp" example as...

View Article



Re : Production JS not right when creating simple "myapp" example...

I would expect master to be stable as well, but right now most of our repos use master as the bleeding edge version. We are working on making master the stable, ready for production branch and keeping...

View Article

Re : Production JS not right when creating simple "myapp" example...

Yes, I have worked with JavascriptMVC and CanJS for quite some time... but not over the past 6 months or so.  The fact that you guys use the master branch for "bleeding edge" type of stuff is something...

View Article

Overwriting Model Create Function

When a new model is saved, the response from the server is appended to the model instance and the .save() is resolved with the updated instance.Is there a way to have .save() calls be resolved with a...

View Article

EJS elements not available to jquery?

I am new to CanJS and am having an issue accessing elements loaded via EJS tamplates.  I am wanting to see if there is a workaround to the issue.In my scenario I can initially access the element if the...

View Article


Steal + Can - is there a solution that doesn't require JMVC

EDIT: Using steal tagged at v3.2.3   latest "working" steal. I am getting started on my first app-like project in a while and would like to use CanJS and Steal: CanJS for all it's goodness and StealJS...

View Article

Re : Overwriting Model Create Function

Ok, so here is what I landed on as my solution (at this point):createNew: function(attrs, success, error) { var self = this; return can.ajax({ url: '/players', type: 'POST', dataType: 'json', data:...

View Article

Re : Steal + Can - is there a solution that doesn't require JMVC

1) grab jmvc's generators from https://github.com/bitovi/javascriptmvc/tree/master/jmvc2) I'm not sure, you'll have to ask one of the build masters (alexis / david)3) Create app/core/core.js, in it...

View Article


Re : Production JS not right when creating simple "myapp" example...

you shouldn't need to use .then.  You can just write:steal( './testapp.css',              'testapp/plugin',  './testapp.coffee' );And things should work.  If this doesn't work for you, I'll get it...

View Article


Re : Canjs and jquery problem

Whoah ... long post :-).  We're pretty good at getting back to people, but we don't have time to read too much code.Please simplify what is going on, possibly clone this...

View Article

Re : EJS problem in IE

It works in every other browser?Any reason .ejs is being served up under .php?

View Article

Re : Steal production build

Where is build.js? You are using steal.packages?Can you explain what's going on a little more clearly?  I can't follow how I might try recreating this.  If you can give me something like:stealroot/...

View Article

Re : Steal package:false and ignore:true not working

upgrade to 3.3.  These are working there :-).

View Article


Re : steal\getjs throws loads of errors

Unfortunately, Github changed their API which broke 3.2.  So, you'll have to pull in that repo manually.

View Article

Re : EJS elements not available to jquery?

return html?I'm not sure exactly what you mean.  

View Article


Re : First event after resume is ignored

hmmm, I'm confused why that is happening.  Can you create a fiddle that shows it?

View Article

Re : can.Observe.startBatch callbacks

Done.https://github.com/bitovi/canjs/pull/315Does startBatch work on the "destroyed" event of models?

View Article


Re : How do you associate a model instance from list with an element in an...

I agree with Arjen's feeling that this is a step backward. I also agree with beno1604 that live binding is nice, but it's not always the best solution. I worked around the issue, but I will miss...

View Article

Re : Steal + Can - is there a solution that doesn't require JMVC

Thanks Justin.  That's the exact response I was hoping for.  Regarding #3, I have controllers which will rely on canjs (of course) as well as an animation library, EJS helpers, data storage, etc.  I...

View Article

Re : Canjs and jquery problem

Sorry if it's too much code :) I know... it requires time. I try to explain what it does:1) Initializes two arrays that mock the result of a rest service. I return these arrays with fixture.2) Creates...

View Article
Browsing all 3491 articles
Browse latest View live




Latest Images