Re : Using CanJS with 3rd party UI libraries
Here is the uploder example https://github.com/retro/canjs-uploader and justin meyer tooltip example http://jsbin.com/noqec/2/watch?html,js,output both codes give an idea how to wrap 3rd part UI widget...
View ArticleRe : binding problem data-picker / mustache / can-value
Ok cool , thank you for sharing Mohamed Cherif BOUCHELAGHEM
View ArticleRe : New StealJS
I am quite concerned about what I see to be very frequent changes to JavaScript MVC components that are not backwards compatible. I am currently working on a JavaScript MVC upgrade and I am very...
View ArticlePassing a callback to a component - possible?
I often create components that need to return some result to the parent component. Couple of approaches I have done: - Pass an object to the sub component and have that sub component modify the object...
View ArticleRe : Using CanJS with 3rd party UI libraries
There's an example of using can.view.tag to wrap jQuery UI's datepicker: http://canjs.com/docs/can.view.tag.html , and can.view.attr is another option for mixin-like behavior like tooltips. I have also...
View ArticleRe : Passing a callback to a component - possible?
http://jsbin.com/koxobamo/5/edit This is the way I have approached similar situations with nested components. Wire up the parts of the data model that a subcomponent can access, through the...
View ArticleRe : using fixtures in a different way?
That's complicated, you might want to put an example on jsfiddle or jsbin, to make it easier for someone to help.
View ArticleRe : HELP! Need to upgrade JavascriptMVC 2.0 to 3.3
You're correct, JavaScriptMVC 3.3 is very different from 3.0.5. It could be considered a spiritual 4.0, except that it doesn't really change or add features, just changes what powers it underneath the...
View ArticleRe : HELP! Need to upgrade JavascriptMVC 2.0 to 3.3
Simon, This will be a very difficult upgrade path. Especially if you aren't familiar with the latest CanJS / Steal APIs. Each version of JMVC 3.* is not compatible with the previous version. We...
View ArticleRe : Passing a callback to a component - possible?
@asavoy thanks for your reply There is one thing that bothers me though, in your example the sub component 'x-list' calls a function on the parent component 'x-chooser' directly, I think this should be...
View ArticleRe : Setting up new StealJS for the first time
Hi Justin, I do appreciate what bitovi does with all the stuff around JMVC. But why don't you simplify your and our life? Bryon did show you, where your docs are wrong AND he delivered the solution. I...
View Articleconfig of new steal
Hi, stealJS is running itself, but I have some problems with jquery and canJS. I tried out the StealJS quickstart and it works using a few workarounds form here Then I downloaded CanJS from here whoch...
View ArticleRe : Passing a callback to a component - possible?
http://jsbin.com/koxobamo/11/edit They can be decoupled for the sake of demonstrating it via special events and can-event. Though if this were a real component I would have "x-chooser" handle the...
View ArticleHaving trouble picking the right version for my project
Hi, I am going to start working on a project that already uses an older version of JMVC, i believe it is 3.2.4 or below. Basically it uses jqueryMX. We need to support IE8 in the new module we would be...
View ArticleRe : Setting up new StealJS for the first time
Kvogelsa, I think you might be missing the big picture of what I'm trying to accomplish by asking people to fix bugs - I'm trying to increase the number of people who feel comfortable fixing issues,...
View ArticleRe : Passing a callback to a component - possible?
@ asavoy "but the extra argument is not passed along to the handler." Are you sure? I believe extra arguments for trigger always come in event handler after event object.
View ArticleRe : Passing a callback to a component - possible?
I tried, by using can-event, the extra argument don't get passes as opposed to normal jquery events, maybe this deserves an issue in github. I modified it a bit so it is the component that triggers the...
View Articleselect after last char
Hi, I have same element, for example: <div id="area">Text</div> If I click at char t (right side) and then use console with $("#area").selection() it log: { start : 4 , end : 4 , width : 0...
View Article