fix jshint errors

This commit is contained in:
Sebastian McKenzie 2014-10-25 09:09:31 +11:00
parent e09312f127
commit 65ba4d35e7
2 changed files with 2 additions and 5 deletions

View File

@ -43,7 +43,7 @@ File.prototype.getModuleFormatter = function (type) {
var ModuleLoader = transform.moduleFormatters[type];
if (!ModuleLoader) {
var loc = util.resolve(type)
var loc = util.resolve(type);
if (loc) ModuleLoader = require(loc);
}
@ -104,9 +104,7 @@ File.prototype.generate = function () {
var opts = this.opts;
var ast = this.ast;
var printOpts = {
tabWidth: 2
};
var printOpts = { tabWidth: 2 };
if (opts.sourceMap) {
printOpts.sourceMapName = opts.sourceMapName;

View File

@ -85,7 +85,6 @@ exports.XJSElement = {
exit: function (node) {
var callExpr = node.openingElement;
var children = node.children;
var args = callExpr.arguments;
_.each(children, function (child) {
delete child.raw;