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

Re : Modify document fragment with additional stache code in helper

While correct, the topic was creating a new Stache using partial output from a previous one.  I don't think it would work to pass a fragment into new can.stache(); can you confirm?

View Article


Re : Modify document fragment with additional stache code in helper

> While correct, the topic was creating a new Stache using partial output from a previous one.  I don't think it would work to pass a fragment into new can.stache(); can you confirm? Can you make it...

View Article


Is there any can.cookie API ?

Hi guys,  I would like to ask you about cookies.  Is it possible to work with cookie using can.Map, just like route change hash? //example person = new can.Map({name: "Andrei"}) #!name=Andrei Thanks,...

View Article

Re : Is there any can.cookie API ?

There isn't one in CanJS but there is one in jQuery++ (which is designed to work with CanJS on top of jQuery). http://jquerypp.com/#cookie

View Article

CanJS ES6 Plugin Workflows

Long time JavaScriptMVC users, Thank you for all your support over the years.  Your patience will finally pay off.  I want to call your attention to a pretty exciting new development with CanJS and...

View Article


Re : Is there any can.cookie API ?

Make sense, thanks!

View Article

Re : Modify document fragment with additional stache code in helper

@air_hadoken so any ideas how it can be accomplished with stache? I tried, but didn't have patience to figure it out )

View Article

Re : CanJS ES6 Plugin Workflows

Why bitovi-components, not can-components?

View Article


Re : Modify document fragment with additional stache code in helper

I wouldn't recommend what you're trying to do in the first place.  In the 4+ years I've been working on CanJS backed projects it's never been necessary to treat the output of a template in the live...

View Article


Re : CanJS ES6 Plugin Workflows

Actually, I should rename my component bit-tabs.  I want to reserve the can namespace for official can plugins.  But this is why we are doing it in bitovi-components, they aren't officially part of the...

View Article

Re : CanJS ES6 Plugin Workflows

Nice to have one less issue to consider, for developing shareable CanJS plugins. Is it possible to input plugins that use AMD or StealJS module formats instead of ES6?

View Article

Re : CanJS ES6 Plugin Workflows

yes, you can use any format.

View Article

Re : CanJS ES6 Plugin Workflows

Owesome thanks for the huge work and sharing, @Justin Meyer the pagination VM example is great, a pagination component will be a nice one, I mean, a full pagination not just next prev buttons, if it's...

View Article


Incorporating canjs in a gulp project using npm

Hi I have a project that I build using gulp and I get all my dependencies using npm. I was very happy to see that canjs was available on npm as well. However - when I installed it, the can.jquery.js in...

View Article

Re : SPA starter/development tools comparison

Hi group, I thought I'd give this another go.  @maklomite, I haven't heard from you, so I'm not sure you're still interested in helping out here. Also, to possibly make it easier, I made this...

View Article


Resume is not working, paused events run on second click

Perhaps I have misunderstood how pause/resume works, but I am finding that when I call pause, resume doesn't work.  The event that has been paused fires on the second time that you click the item. I...

View Article

Re : Incorporating canjs in a gulp project using npm

Soon!  But not quite yet.  You will have to use the latest browserify.  And, you will have to use the "can" npm package.  

View Article


Re : Modify document fragment with additional stache code in helper

Ask on stack overflow, and I'll answer. However, Air_hadoken's answer seems right: if(options.contexts.attr("someAttr"))

View Article

Compliment to parseModel to massage data before sending?

We ave a server that returns and expects the json for a given object to be nested:{todo: {name: 'foo'}} parseModel will de-serialize this just fine. What is the appropriate pattern for serializing a...

View Article

Re : Compliment to parseModel to massage data before sending?

Unfortunately, there's not an "outgoing" helper with the exception of simply overwriting "created" and "updated" like: created: function(data) {   return $.post("/url",{todo: data}) }

View Article
Browsing all 3491 articles
Browse latest View live