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

Re : Model Implied Relationships & Serialization = Too Much Recursion?

I see that one can overload serialize on the model, but this is of limited use because calling _super() will trigger the recursion.

View Article


Re : Model Implied Relationships & Serialization = Too Much Recursion?

Here's where I'm at.  I've set up a base model to inherit from with a static property called "serialization_keys" that is a list of attributes to include in serialization.  Then I created my own...

View Article


Not include loading (stealing) production.css in production.js

Is there a way not to include loading production.css in production.js at all? I want a build process create the file, but not include in production.js.

View Article

Cannot build !

I cannot build my app... Lost 3 days searching :(, so any help is welcome !Something must be wrong with steal.build code or doc (or more probably with my code)If I do not use packages, with something...

View Article

Ordering error - fixture/store - findAll()

Hi,I am starting with can.fixture and Store.My store instance: var storeTutor = fixture.store(40,         function(i){            return {                            id : i+1,                name :...

View Article


Re : CanJS US Tour

Hey Justin.  I'm in NYC.  I'm sure we could rock something here.

View Article

Re : Issue with jsonp

Anyone have an idea? Or working example?

View Article

Re : Issue with jsonp

I think you are just defining your findAll wrong. This should work:Cat = can.Model({    findAll: {      url: 'caturl',      dataType: 'jsonp'    }  }, {});You can find the according documentation here.

View Article


Re : Ordering error - fixture/store - findAll()

Digging into the fixture code, it looks like it expects order to be an Array. This would enable you to order on more than one property.

View Article


Re : Ordering error - fixture/store - findAll()

Hi Curtis,Now its working.I guess documentation needs to be corrected:The ajax request object. The available parameters are:order {String}The order of the results. order: 'name ASC'Thanks a...

View Article

Re : Cannot build (JMVC 3.3) !

ok => back to requirejs, not so powerful, but it usually runs ok...bye  bye steal ! ring me when you will be operational.

View Article

Order of css in production.css

Hi,I've got this setup to steal jquery-ui component base css. At the end I want to load my own css. In development it works fine, but in production.css my own css is loaded first (even though during...

View Article

Yeoman + RequireJS + CanJS + Karma (Browserstack)

I wanted to test my CanJS applications using Jasmine and ideally run these tests on Browserstack. Finally (after couple of days) I succeded so if anyone is interested, here is the repository with...

View Article


Re : Yeoman + RequireJS + CanJS + Karma (Browserstack)

Check this out please maybe you can contribute: https://github.com/retro/generator-canjsMohamed Cherif BOUCHELAGHEM

View Article

Funcunit + NodeJS + PhantomJS, what about output?

Hi everyone,I'm starting to integrate funcunit in our building process, but I'm little bit confused about "How to output tests result running those tests with nodejs?"I'm on Ubuntu 13.04 (64bit),...

View Article


Re : How to generate documentation in javascriptmvc3.3? I didn't find doc.bat...

HI,I am trying to figure out this also, reading outdated documentation makes this very dificult.I think you should be good as you are also with documentation (outdated documentation=more doubts, more...

View Article

CanJS US Tour Cities

We've started creating the CanJS meetup...

View Article


Re : How to generate documentation in javascriptmvc3.3? I didn't find doc.bat...

Where is the documentation out dated?Where did you create those files?  Is index.html property loading them via steal?

View Article

Re : Cannot build (JMVC 3.3) !

Those things should certainly work.  What does your build script look like?  Where are your files?Normally steal shows all the files it finds when building.  Do you see files written out like:+...

View Article

Can you use a page's existing jQuery in steal?

Working on a very simple app with Can and using Steal for dependency management.  Everything seems fine except something is trying to load jquery/jquery.js from my main jmvc project directory.  I'm...

View Article
Browsing all 3491 articles
Browse latest View live