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

Re : Where to bind autosize() for Todo MVC?

Thanks @asavoy, I'll give it a go. Thanks for the example!

View Article


how can i move up / down / left / right with move just mouse

pleas visit this site http://www.chanel.com/en_WW/fashion.html when you move your mouse u can move to up down L/R without click on mouse . i need know the source code of this behavior or a jquey plugin...

View Article


Anyone have can-compile working?

The following can-compile task outputs 3 files and this is what they contain: production/views.production.js contains: !function() { }(); production/production.js contains: !function() { }();...

View Article

Individual Request Headers for can.Model

canJS 2.1.4 How can I add extra request headers that are send by can.Model for each request to my API?Each request needs a different set of headers. Thanks, Udo

View Article

stealconfig no longer used?

I grabbed the latest steal via bower to see how things are progressing, just to find out that steal now uses bower.json instead of stealconfig?

View Article


steal production loading

I'm using a custom version of steal that I worked with Justin on to fix IE8 bugs. It's based off of 0.5. The project builds, but fails because it's looking for  /dist/bundles/ucp2/ucp2.js as our main...

View Article

Using Bootstrap with can.components?

Are there any examples of using Bootstrap components within the content of a can.component? largo

View Article

Re : steal production loading

Could be this: https://github.com/stealjs/steal/pull/222 which would mean you need to update both steal and steal-tools.

View Article


Anyone!??? Controller events listeners/triggers are broken in CanJS

Hey, so trying to clarify my example... the following code is based on JMVC There are no external dependencies and you can see a fiddle here >>> https://jsfiddle.net/9SqYK/46/...

View Article


Re : Anyone!??? Controller events listeners/triggers are broken in CanJS

Can you create a fiddle and maybe make your example smaller?  It uses eval which is strange enough. It's hard to tell what is going on. Sent from my iPhoneOn Mar 11, 2015, at 10:18...

View Article

Re : Using Bootstrap with can.components?

You can use can.Component insert event to wrap your widgets or can.view.tag and can.view.attr to reuse those widgets: http://canjs.com/docs/can.view.tag.html http://canjs.com/docs/can.view.attr.html...

View Article

Re : Individual Request Headers for can.Model

When using $.ajaxSetup({     headers: {...} }); can.Model sends custom headers as expected, but the same headers for all requests in can.Model's request queue. Is it possible to pass different headers...

View Article

Re : Anyone!??? Controller events listeners/triggers are broken in CanJS

Hi Justin  I have updated my question, simplified the examples and added some fiddles  Are you able  to offer some assistance? Thanks

View Article


Re : Individual Request Headers for can.Model

You can overwrite model's findAll/update/create/etc with functions that do whatever you want. Sent from my iPhoneOn Mar 12, 2015, at 3:36 AM, JavaScriptMVC Forum...

View Article

Route Question

I want create this kind of routes:#!place/create #!place/edit/{id} #!place/{id} in my router i specifed some funktions like this: ":page/:id route" : function(){ ":page/:action route": function () {...

View Article


Re : Using Bootstrap with can.components?

Hey Cherif Thanks for the great info. I haven't used 3rd party libs before when creating application components. But Bootstrap, jQueryUI and grid widgets are everywhere now.  Are there any gotchas I...

View Article

Weird generation problem while building 4MB app.

While generating a fairly sized app, we hit a wall where the production.js file is only 4K in size.   Here is some of the output:  Building to tova/ BUILDING STYLES ---------------    tova/tova.less...

View Article


Re : Weird generation problem while building 4MB app.

Can you switch to the new node version?  http://stealjs.com/  It's a million times better.Here's a guide how to switch: http://stealjs.com/docs/StealJS.migrating.html

View Article

Re : Weird generation problem while building 4MB app.

Hi Justin,  thanks for the tip. That is an interesting suggestion that I will definitely follow up.  At the moment we have to launch our app and I am afraid migrating now would be tricky.  The app we...

View Article

Re : Weird generation problem while building 4MB app.

okay, it looks like it is custom code related.  Somehere in the app this code is used:        ( /** add mandatory asterisk ? **/ arFields[i].required ? '' : '' ) + It's the question mark in the comment...

View Article
Browsing all 3491 articles
Browse latest View live