chore(docs): module paths must have explicit .js extension
Traceur 0.80 had a breaking change in the path to modules. Previously there was an implicit .js extension added but this must now be explicit.
This commit is contained in:
parent
bcd6e4c468
commit
8e494396d9
|
@ -1,5 +1,6 @@
|
||||||
var traceur = require('traceur/src/node/traceur.js');
|
var traceur = require('traceur/src/node/traceur.js');
|
||||||
|
|
||||||
module.exports = function ParseTreeVisitor() {
|
module.exports = function ParseTreeVisitor() {
|
||||||
return System.get(System.map.traceur + '/src/syntax/ParseTreeVisitor').ParseTreeVisitor;
|
console.log(System.map.traceur);
|
||||||
|
return System.get(System.map.traceur + '/src/syntax/ParseTreeVisitor.js').ParseTreeVisitor;
|
||||||
};
|
};
|
|
@ -1,5 +1,5 @@
|
||||||
var traceur = require('traceur/src/node/traceur.js');
|
var traceur = require('traceur/src/node/traceur.js');
|
||||||
|
|
||||||
module.exports = function SourceFile() {
|
module.exports = function SourceFile() {
|
||||||
return System.get(System.map.traceur + '/src/syntax/SourceFile').SourceFile;
|
return System.get(System.map.traceur + '/src/syntax/SourceFile.js').SourceFile;
|
||||||
};
|
};
|
|
@ -1,5 +1,5 @@
|
||||||
var traceur = require('traceur/src/node/traceur.js');
|
var traceur = require('traceur/src/node/traceur.js');
|
||||||
|
|
||||||
module.exports = function TraceurParser() {
|
module.exports = function TraceurParser() {
|
||||||
return System.get(System.map.traceur + '/src/syntax/Parser').Parser;
|
return System.get(System.map.traceur + '/src/syntax/Parser.js').Parser;
|
||||||
};
|
};
|
Loading…
Reference in New Issue