Comment style consistency.

Former-commit-id: c166fbd838f2ad139bb89da2c916fa07c4fceff0
This commit is contained in:
Kit Cambridge
2012-04-23 16:47:00 -06:00
parent 2f91764f80
commit 0d77d292e5
3 changed files with 8 additions and 8 deletions

View File

@@ -39,9 +39,9 @@
if (module != require.main) {
module.exports = postprocess;
} else {
// Read the JavaScript source file from the first argument if the script
// read the JavaScript source file from the first argument if the script
// was invoked directly (e.g. `node post-compile.js source.js`) and write to
// the same file.
// the same file
(function() {
var source = fs.readFileSync(process.argv[2], 'utf8');
fs.writeFileSync(process.argv[2], postprocess(source), 'utf8');

View File

@@ -199,9 +199,9 @@
if (module != require.main) {
module.exports = preprocess;
} else {
// Read the JavaScript source file from the first argument if the script
// read the JavaScript source file from the first argument if the script
// was invoked directly (e.g. `node pre-compile.js source.js`) and write to
// the same file.
// the same file
(function() {
var source = fs.readFileSync(process.argv[2], 'utf8');
fs.writeFileSync(process.argv[2], preprocess(source), 'utf8');