google / traceur-compiler

Traceur is a JavaScript.next-to-JavaScript-of-today compiler
Apache License 2.0
8.18k stars 578 forks source link

Remove global.System in bin/traceur.js. #2046

Closed johnjbarton closed 8 years ago

johnjbarton commented 8 years ago

Fixes #1911

johnjbarton commented 8 years ago

@guybedford This breaks our old es6-module-loader version. It would need something like

var System = global.System || {};

I'm a bit puzzled by our use of es6-module-loader (via systemjs-builder?). Seems like we don't have a dev dependency on it, which is why we are back level.

arv commented 8 years ago

LGTM