Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added preprocessor tests
  • Loading branch information
freejosh committed Jul 9, 2013
1 parent 613c933 commit 3fc2dbd
Show file tree
Hide file tree
Showing 3 changed files with 738 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cli.js
Expand Up @@ -27,7 +27,7 @@ var pluck = function(arr, prop) {

var isType = function(o, type) {
return Object.prototype.toString.call(o) === '[object ' + type + ']';
}
};

var flatten = function(arr) {
return arr.reduce(function(tot, cur) {
Expand Down Expand Up @@ -55,7 +55,7 @@ var dirUp = function(steps) {
str += '../';
}
return str;
}
};

// Get a filename without the extension
var baseFilename = function(str) {
Expand Down Expand Up @@ -356,3 +356,4 @@ module.exports = cli;
module.exports.htmlFilename = htmlFilename;
module.exports.menuLinks = menuLinks;
module.exports.urlsRelative = urlsRelative;
module.exports.preprocess = preprocess;

0 comments on commit 3fc2dbd

Please sign in to comment.