Skip to content

Commit

Permalink
fix register and AMD
Browse files Browse the repository at this point in the history
  • Loading branch information
mciparelli committed Oct 6, 2014
1 parent 75db989 commit 954c18b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/traceur.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function compileOne (grunt, compile, src, dest, options) {
}
src = src[0];
var content = grunt.file.read(src).toString('utf8');
options.filename = src;
options.moduleName = [path.dirname(src), path.sep, path.basename(src, path.extname(src))].join('').replace(path.sep, '_');
compile(content, options, function (err, result) {
var sourceMapName, sourceMapPath;
if (err) {
Expand Down

0 comments on commit 954c18b

Please sign in to comment.