These are chat archives for systemjs/systemjs

13th
Jul 2015
Peter Müller
@Munter
Jul 13 2015 10:55
What do people do for unit testing and code coverage with systemjs?
Marjan Georgiev
@marjan-georgiev
Jul 13 2015 11:46
@guybedford I'm seeing an error after building AMD modules with systemjs-builder v0.12.2. They used to load fine before. Is this a known issue?
Uncaught (in promise) Error: AMD module http://localhost/swimlane/dist/app/app.js did not define
Guy Bedford
@guybedford
Jul 13 2015 12:07
@marjan-georgiev can you share a test case at all here?
would help, there may have been a regression
Marjan Georgiev
@marjan-georgiev
Jul 13 2015 13:34
@guybedford here's a test case for the AMD issue: Swimlane/angular-systemjs-seed#39
Peter Müller
@Munter
Jul 13 2015 14:06
I have some crappy old modules that require Backbone to be exposed as a global. But my backbone module doesn't do that. How do I shim this so it works?
"lib/backbone/backbone-super": {
  format: 'global',
  deps: ['backbone']
}
This doesn't work
Peter Müller
@Munter
Jul 13 2015 14:25
Well, it works in that the relevant dependencies are loaded. But it looks like backbone-super is evaluated before the dependencies are, so it throws an error.
And I still have the problem that can't figure out how to configure that Backbone is leaked to the global scope to this module will be able to load
Peter Müller
@Munter
Jul 13 2015 14:33
@guybedford Ah. I must be blind :P
Works
Sharon (Sean) Rolel
@Mosho1
Jul 13 2015 20:09
This message was deleted