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

Re : bug in view.mustache when passing partials in options

Please create an issue on github.  Thanks!

View Article


Re : can-compile on Windows 7 ... does it work for anyone?

It's an issue with your setup, not can-compile.Also, you need to use sudo when doing global installs, so sudo npm install can-compile -g

View Article


Re : can-compile on Windows 7 ... does it work for anyone?

Sudo ... Windows?  I did install as admin.  That said, I have it working ok on my mac but another dev on Windows 7 also had issues after a clean install of node stack.

View Article

Re : How can I do nested bindings without cross binding with can.Component?

yes can.extend(App.prototype, can.event) is wierd, i didn't notice it.

View Article

class id attributes are not ignored by can.route.map

The use case in this fiddle shows that id and class attributes are not ignored by can.route.map and are displayed in the can.route URL. I wonder if I did a mistake or it's a bug somewhere?PS: use...

View Article


Re : class id attributes are not ignored by can.route.map

I'm not sure what I should see.  Can you explain that fiddle a bit more?  Or reduce it if it's a problem with can.route to only use can.route?  Thanks.

View Article

Re : class id attributes are not ignored by can.route.map

Justin Meyer now is reduced I can see the class attribute from my custom element in the route, use debug on mobile to see it in actionMohamed Cherif BOUCHELAGHEM

View Article

Mixins for can.Construct classes

Hello!What's the proper way to implement mixins for can.Construct classes? I'd like to mixin methods into different classes, extended from can.Construct (to have something like multiple...

View Article


Re : Mixins for can.Construct classes

We actually don't have an official way to do this yet, however we are discussing the possible api here: https://github.com/bitovi/canjs/issues/1085At the moment, we really only have direct...

View Article


Re : Mixins for can.Construct classes

https://github.com/reciprocity/ggrc-core/blob/develop/src/ggrc/assets/javascripts/models/mixins.jsI wrote this specifically for Model classes but it should be easy to extend to most can.Construct types.

View Article

Integrate contentEditable into can.Component/can.view.tag?

Hi All!I'm attempting to determine the best route method to use to integrate Scribe and can.Component. A wee bit of context. Scribe wraps a raw element, either a fragment, or a node inserted into the...

View Article

Re : Mixins for can.Construct classes

CanJS official docs said that we can mix can.event with can.Construct what's the difference?Mohamed Cherif BOUCHELAGHEM

View Article

Re : Integrate contentEditable into can.Component/can.view.tag?

There's contenteditable behavior in canjs source code with an example maybe you get inspired!Mohamed Cherif BOUCHELAGHEM

View Article


Building production files with StealTools

I'm trying to follow the steps in the Git readme for StealTools. Step 2 says to create a build script. With the prior version of steal we didn't have a build script. We built the production files from...

View Article

Canjs View Registration

Hi Team,I have tried to follow the below URL to register view renderer, http://canjs.com/docs/can.view.register.htmlI would like to use the jQuery.tmpl renderer and I understand that it is deprecated....

View Article


Errors in Getting Started Guide

Hi, I just wanted to list some erros ( in my opinion ) of the "Getting Started" section of the CanJS guide.Perhaps these are already presented here in another thread, but I think it is a bit...

View Article

Re : Building production files with StealTools

Hey Patrick, keep in mind that the new Steal is pre-release still. With that being said, you can either use Grunt, or if that's not familiar to you create a build script. This would just a .js file...

View Article


Re : Errors in Getting Started Guide

Ok, this is nitpicking, but:#4:Where: http://canjs.com/guides/Observables.html -> Observables -> Example 1, Code Line 5What: If the 'hobbies.attr(2);' get the third item of the list this should...

View Article

Re : Building production files with StealTools

Hi Matthew Thanks for the reply. After making this post, I looked over the tests and realized you we're using Grunt. Even though it's a pre-release I'm reworking two projects to use the new...

View Article

Re : Errors in Getting Started Guide

You don't need http: in the begging.  // will work regardless if you are on https or http.  This is exactly how jQuery tells you to load from its CDN:...

View Article
Browsing all 3491 articles
Browse latest View live