Skip to content

Commit

Permalink
default mode to something useful
Browse files Browse the repository at this point in the history
  • Loading branch information
Raynos authored and thlorenz committed Mar 7, 2014
1 parent 102918e commit efa2a93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ function countHeaders (headers) {
exports = module.exports = function transform(content, mode) {
var lines = content.split('\n')
, _lines = _(lines).chain();

mode = mode || 'github.com';

var headers = getHashedHeaders(_lines).concat(getUnderlinedHeaders(_lines));

Expand Down

0 comments on commit efa2a93

Please sign in to comment.