These are chat archives for systemjs/systemjs

5th
Aug 2015
Jiawei Li
@jiaweihli
Aug 05 2015 00:17
mmm unfortunately I'm also browserify-ing other coffeescript code as well :(
systemjs will have to go on the backburner for a few more months :(
Will Prater
@wprater
Aug 05 2015 00:28
https://github.com/geelen/jspm-loader-css/ seems to try and load my css files as js. any one else experience this?
Will Prater
@wprater
Aug 05 2015 01:05
perhaps it’s not compatible with 0.18.x?
Davis Kim
@davis
Aug 05 2015 01:14
what's the best way to write a jquery addon?
in systemjs?
import $ from 'jquery'
$.fn.myAddon = function () {}
export default $
then create an SFX?
then use
<script src="jquery.js"></script>
<script src="myAddon.js"></script>
<script>$('.test').myAddon()</script>
?
Mike Joyce
@mcMickJuice
Aug 05 2015 02:34
whats the best approach to learning the ins and outs of system.js?
is it looking at the system.js source code?
specifically system.src.js? or is this file broken out into smaller files that are more easily consumable?
Rob Wormald
@robwormald
Aug 05 2015 02:35
the best approach is to just use it
"you can get a good look at a steak by sticking your head up a cow's ass but i'd rather take the butcher's word for it"
Mike Joyce
@mcMickJuice
Aug 05 2015 02:35
hahahaha
good point. But I like to use a technology as well as understand the internals
Rob Wormald
@robwormald
Aug 05 2015 02:36
looking at source isn't a bad idea ;-) i just really wanted to use that phrase
Mike Joyce
@mcMickJuice
Aug 05 2015 02:36
you pulled it off perfectly.
Rob Wormald
@robwormald
Aug 05 2015 02:36
and the source won't make sense until you actually use it a bit
Mike Joyce
@mcMickJuice
Aug 05 2015 02:37
agreed. I guess i wanna see how the config file is consumed and how module alias are resolved
ive used jspm for a couple of projects and im at the point where i want to open up the black box so to speak. Is there a good entry point into the source code?
that's a good place to start - systemJS sits on top of es6-module-loader
Mike Joyce
@mcMickJuice
Aug 05 2015 02:39
Great. Thanks @robwormald