Re : Transpile during build?
Hmm, maybe I'll avoid ES6 for now then. Will using AMD or CJS throughout my app work with building CSS, bundleSteal:false and use the AMD shim?
View Articlesteal: css! (exclamation mark of css) problem
With new steal I wanted to load modules that I use also with old steal, but to correctly load css with new steal I need to add exclamation mark to css extension, that makes impossible to load modules...
View ArticleRe : steal: css! (exclamation mark of css) problem
You could write an extension on translate that would fix it, however it won't work with ES6 syntax. If you're just using steal syntax it would probably work. Untested but it would be something like...
View ArticleRe : Transpile during build?
Which AMD shim? You might be able to use Almond although I haven't tried it. Why don't you give it a shot and let us know.
View ArticleRe : steal: css! (exclamation mark of css) problem
@matthew you probable meant System.normalize not System.translate But I coun't make it work, adding ! to css names in normalize causes infinite loop. I couldn't figure out how to manage it. Do you...
View ArticleRe : steal: css! (exclamation mark of css) problem
You would have to overwrite System.import. Sent from my iPhone On Sep 7, 2014, at 10:23 PM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:
View ArticleRe : steal: css! (exclamation mark of css) problem
@Justin Meyer It seems no - it doesn't work import is called after need change. The problem is that I have path mapping and for css files it's trying to import css file with js extension:...
View ArticleRe : steal: css! (exclamation mark of css) problem
How did you implement this? I had an import overwrite that worked for steal/amd/cjs but not es6 so I discarded it. Sent from my iPhone On Sep 8, 2014, at 3:22 AM, JavaScriptMVC Forum...
View ArticleRe : steal: css! (exclamation mark of css) problem
I added in stealconfig.js before System.config var systemImport = System['import']; System['import'] = function(name, options) { console.log('import', name, options)...
View ArticlePause-able / Resume-able events in CanJS
Hi there, I have a short question. Perhaps I should first describe my use-case. In my spare-time I am trying to program something like a miniature LinkedIn where I can maintain my work experience and...
View ArticleRe : Pause-able / Resume-able events in CanJS
can.batch.stop() and can.batch.start() will prevent any events from being fired system wide. Instead of unbinding, I would simply prevent all events from being triggered on an object. There's...
View ArticleRe : Pause-able / Resume-able events in CanJS
Thanks for the quick reply. I will try to implement it the way you suggested.
View ArticleRe : The best way to implement nested binding for all list items
There's not a better way but there probably should be. Have a suggested syntax for this?
View ArticleRe : steal: css! (exclamation mark of css) problem
Yes, I did mean normalize, my bad. As for System.import, I believe it is only called when the user explicitly calls it; meaning it's not called internally to load modules that are dependencies of other...
View ArticleRe : steal: css! (exclamation mark of css) problem
@matthew you are right on import, as I've said in console output it was not called for any file. Any further ideas how to handle this?
View ArticleRe : The best way to implement nested binding for all list items
It depends on how you would implement this would you bind event on all list items or you just would filter the event? if just filter (as it is made in my example) then bind cold accept regEx as pattern...
View ArticleRe : steal: css! (exclamation mark of css) problem
So it seems that SystemJS itself currently is not capable of handling this https://github.com/systemjs/systemjs/issues/194 Maybe old steal can be modified to be able to replace css! name with just css?
View ArticleWhat's the difference between can.Map.define value and Value??
I read the doc about can.Map.define.Value and can.Map.define.value but I dont really understand the difference, can you explain the difference with an example? Thank you :) Mohamed Cherif BOUCHELAGHEM
View ArticleRe : What's the difference between can.Map.define value and Value??
prop: { Value: MyMap } is the same as prop :{ value: {}, Type: MyMap } so this mean that on init (actually before init) prop will be assigned new MyMap() so in first case prop = new myMap()...
View Article