Permalink
Browse files

small cleanup

  • Loading branch information...
1 parent c2d1e31 commit 504bf0b526275823836b0c5e6b45029e8beeedd3 @chjj committed Jan 30, 2012
Showing with 3 additions and 11 deletions.
  1. +1 −2 Makefile
  2. +1 −5 bin/marked
  3. +1 −4 test/fix.js
View
@@ -1,10 +1,9 @@
all:
@cp lib/marked.js marked.js
- @uglifyjs -mt --unsafe -o marked.min.js marked.js
+ @uglifyjs -o marked.min.js marked.js
clean:
@rm marked.js
@rm marked.min.js
.PHONY: clean all
-
View
@@ -23,13 +23,9 @@ var help = function() {
customFds: [0, 1, 2]
};
- var man = spawn('man',
+ spawn('man',
[__dirname + '/../man/marked.1'],
options);
-
- // man.on('exit', function(code) {
- // if (code !== 0) console.error('no man page');
- // });
};
/**
View
@@ -9,9 +9,6 @@
// fail for reasons unrelated to
// conformance.
-// fix the fact that the original markdown
-// does not escape quotes for some reason
-
var path = require('path')
, fs = require('fs')
, dir = __dirname + '/tests';
@@ -49,7 +46,7 @@ fs.readdirSync(dir).forEach(function(file) {
(function() {
var file = dir + '/amps_and_angles_encoding.html';
var html = fs.readFileSync(file, 'utf8')
- .replace('6 > 5.', '6 > 5.')
+ .replace('6 > 5.', '6 > 5.');
fs.writeFileSync(file, html);
})();

0 comments on commit 504bf0b

Please sign in to comment.