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

Re : After a fragment is added to the DOM, why updating an observable updates...

http://blog.ralphholzmann.com/presentations/2012/jsconf/#1

View Article


Re : Mustache: get index of the list element

The only thing I've found is to map the array to an object like:can.map(items, function(item, index){  return {index: index, item: item}})

View Article


Re : After a fragment is added to the DOM, why updating an observable updates...

thanks for the link http://blog.ralphholzmann.com/presentations/2012/jsconf/#1for some reason, in Chrome or Firefox it won't start a slideshow.  Does it need to be a different URL?

View Article

Re : After a fragment is added to the DOM, why updating an observable updates...

press the down key

View Article

CanJS Release

I talked to daffl briefly last week, but was wondering when the next release of CanJS (1.1.6) is expected to be. He mentioned it was going to be delayed a bit because you guys were adding even more...

View Article


Re : Steal Build Error

@curtis, what are your thoughts on making the changes I mentioned above to env.js?if(a.parentNode && a.parentNode === b.parentNode){

View Article

Re : Steal different files for dev mode and build (prod)

I am bumping this, because I have a similiar question.Does steal know if it is in production or development mode?In my case it would be usefull to specify Postmessage targets.var target =...

View Article

Re : Steal different files for dev mode and build (prod)

you may check steal.dev !== undefinedBut that is not the solution. the right thing would be include different files while developting and buiding. It seems to me that there were feature of steal to not...

View Article


Re : Steal different files for dev mode and build (prod)

steal.config().envwill be either "development" or "production"

View Article


Re : Steal different files for dev mode and build (prod)

@Justin Meyer can you comment something on the matter of including different sources (modules that for example what would define environment specific parameters) for development and production?

View Article

Re : Mustache: get index of the list element

to me using mustache is quite lame comparing with EJS

View Article

Re : CanJS Release

1.1.6-pre contains the memory leak fix. Could you give it a quick try to see if you run into any issues upgrading?

View Article

Re : CanJS Release

Cool. Will do. Gonna have to give me a day or two. Just had a baby.

View Article


Re : CanJS - Mustache strange behavior

Ty daff I saw your answer on stackoverflow, i've solved without calling render. This situation started because a jquery plugin (gridster) doesn't like the document fragment returned by can.view, that's...

View Article

Controllers on parent element are getting destroyed when a child element is...

I tried to create a simple jsfiddle to mimic what I am doing but not able to reproduce the issue on jsfiddle.http://jsfiddle.net/arjunballa/Pcpsc/In my case Login controller on "#body-container" is...

View Article


Image may be NSFW.
Clik here to view.

Re : CanJS Release

Congratulations (by the way... "a day or two" may be a bit too optimistic: you may have to reduce geeking time )

View Article

sucess and error callback functions are passed as undefined to findOne findAll

Provider - model"findOne" : function (nodata, success, error) { return $.ajax({ url : "someurl", type : "GET", dataType : "json", success: sucess // this is passed as undefined - is this because the...

View Article


Why -restCreate, -restUpdate and -restDelete are removed from canjs fixtures

Why -restCreate, -restUpdate and -restDelete are removed from canjs fixtures?

View Article

Re : PhantomJS doesn't exit cleanly - Monkey patched!!!

Are there any news on this??//Update:Ok, seems to have been merged: https://github.com/bitovi/steal/blob/master/browser/phantomjs/client.js#L15

View Article

Re : PhantomJS doesn't exit cleanly - Monkey patched!!!

https://github.com/bitovi/steal/commit/ea8682d3595f68eb97d36d9dbe26c24fe6d9842e

View Article
Browsing all 3491 articles
Browse latest View live