1
0
Fork 0

indentation

This commit is contained in:
Jan Steemann 2014-11-05 16:29:25 +01:00
parent a35cf09411
commit d3be7cb7f5
1 changed files with 8 additions and 4 deletions

View File

@ -357,7 +357,8 @@ function require (path) {
id: id,
path: normalizeModuleName(path + "/.."),
origin: path2FileUri(filename),
type: type };
type: type
};
}
// try to append ".js"
@ -379,7 +380,8 @@ function require (path) {
id: path,
path: normalizeModuleName(path + "/.."),
origin: path2FileUri(agumented),
type: "json" };
type: "json"
};
}
// try to append ".coffee"
@ -390,7 +392,8 @@ function require (path) {
id: path,
path: normalizeModuleName(path + "/.."),
origin: path2FileUri(agumented),
type: "coffee" };
type: "coffee"
};
}
// maybe this is a directory with an index file
@ -402,7 +405,8 @@ function require (path) {
id: fs.join(path, "index"),
path: path,
origin: path2FileUri(agumented),
type: "js" };
type: "js"
};
}
}