This repository was archived by the owner on Jul 13, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +23
-29
lines changed
Expand file tree Collapse file tree 5 files changed +23
-29
lines changed Original file line number Diff line number Diff line change 1+ var System = require ( './dist/es6-module-loader.src' ) ;
2+
3+ System . transpiler = 'traceur' ;
4+ try {
5+ System . paths . traceur = require . resolve ( 'traceur/bin/traceur.js' ) ;
6+ }
7+ catch ( e ) { }
8+ try {
9+ System . paths . babel = require . resolve ( 'babel-core/browser.js' ) ;
10+ }
11+ catch ( e ) { }
12+ try {
13+ System . paths . babel = System . paths . babel || require . resolve ( 'babel/browser.js' ) ;
14+ }
15+ catch ( e ) { }
16+
17+ module . exports = {
18+ Loader : global . LoaderPolyfill ,
19+ System : System
20+ } ;
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ require('./_helper');
66
77require ( 'regenerator/runtime' ) ;
88
9- global . System = require ( '../lib/index-babel' ) . System ;
9+ global . System = require ( '../index' ) . System ;
10+ global . System . transpiler = 'babel' ;
1011
1112require ( './system.spec' ) ;
1213
Original file line number Diff line number Diff line change @@ -4,9 +4,7 @@ global.expect = require('expect.js');
44
55require ( './_helper' ) ;
66
7- global . System = require ( '../lib/index-traceur' ) . System ;
8-
9- System . parser = 'traceur' ;
7+ global . System = require ( '../index' ) . System ;
108
119require ( './system.spec' ) ;
1210
You can’t perform that action at this time.
0 commit comments