remove second canCompile declaration

This commit is contained in:
Sebastian McKenzie
2014-11-10 16:42:04 +11:00
parent b7e6d8f998
commit 79045e15c5

View File

@@ -52,11 +52,6 @@ exports.isAbsolute = function (loc) {
return false;
};
exports.canCompile = function (filename) {
var ext = path.extname(filename);
return _.contains([".js", ".es6"], ext);
};
exports.sourceMapToComment = function (map) {
var json = JSON.stringify(map);
var base64 = new Buffer(json).toString("base64");