Re : config of new steal
You seem to have a few issues going on here. First things first, you can't use both steal and es6 in the same file. Perhaps you did this because myapp/core/init.js is written in steal so you thought...
View ArticleRe : Having trouble picking the right version for my project
We do support IE8(and IE7) in all versions of CanJS. Note, if you plan on using can.Component in IE8, you'll need Google's HTML5Shiv to make things play nice. JMVC 3.3 can be used with CanJS 2.1.2....
View ArticleRe : Passing a callback to a component - possible?
I thought it works, never needed it though. Nevertheless I don't really understand your problem, to organize iterations between nested components you can use either shared attributes or can-event...
View ArticleRe : Having trouble picking the right version for my project
Thank you for the prompt reply. This would certainly help
View ArticleRe : config of new steal
Thanks, I tried it out and made main.js: import $ from "jquery"; import Init from 'myapp/core/init/'; but it is the same error TypeError: steal.type is not a function What I don't get is your hint with...
View ArticleRe : Setting up new StealJS for the first time
Well, I am glad when I get small parts of the picture, to be honest. Sometimes the docs are difficult to understand and the docs seem to be the stepchild of the project.
View ArticleRe : Setting up new StealJS for the first time
Yes, the new version of steal is not fully mature (or even 1.0), it will take a while for the docs to be fleshed out.
View ArticleRe : Passing a callback to a component - possible?
@alex to answer your question: - Passing an object may be fine sometimes, but many other times you have nothing to pass, you just want to get a result back - Using can-event that way seems wrong to me,...
View ArticleRe : Passing a callback to a component - possible?
What is the difference between something that you call "callback" and callback function passed to can-event? What should be the context of a callback your are talking about?
View ArticleRe : Passing a callback to a component - possible?
@alex we have two components: Chooser and List Chooser has Chooser .onSelected In your fiddle List is using Chooser .onSelected directly, yes, you are passing Chooser . onSelected to can-event but you...
View ArticleRe : Passing a callback to a component - possible?
Not really, will explain why "List should not have to know about the methods in Chooser." Doing so: <list on-selected="onSelect" name="Good list"> you are instantiating new component and via...
View ArticleRe : Passing a callback to a component - possible?
I think you are saying the same as I am, but your fiddle doesn't reflect that. :)
View ArticleRe : Passing a callback to a component - possible?
Ah, yes, probably this is what you need:http://jsbin.com/hufonime/2/edit
View ArticleRe : Passing a callback to a component - possible?
Thanks @alex, that is so close. Still I am looking for something slight different. That example passes the context directly to the callback, which sometimes if ok, but many other times you one some...
View ArticleRe : Passing a callback to a component - possible?
Well I've met some situation like this, and used something like this: So you may a change a context on the element where you want to have callback: {{#id}}<a...
View ArticleRe : using fixtures in a different way?
I have to solve a few other things first. I will come back with a fiddle then.
View ArticleRight grunt steal plugin for steal part of JMVC 3.3?
Hi, The grunt-steal github readme says that it works for steal which is part of JMVC 3.2 or below. I suppose grunt-steal-node works for the new StealJS. Which of these would work with legacy-steal...
View ArticleRe : config of new steal
The version of CanJS you are using is not compatible with the latest steal. Can you use the system-steal-domless branch?
View ArticleRe : config of new steal
thx! I thought I got this branch, but I had to bower install https://github.com/bitovi/canjs.git#system-steal-domless which worked. Do I need import $ from "jquery"; due to the fact, that canjs steals...
View ArticleRe : config of new steal
One more I get core/init/init.mustache.js 404 not found which makes sense, beacuse the file is named core/init/init.mustache I edited the stealconfig.js to System.config({ paths: { 'jquery/*':...
View Article