exports.isMarkdownFilename = function(filename) {
	return exports.endsWith(file, '.md') || exports.endsWith(file, '.markdown');
}

exports.isMarkdown = function(file, stats) {
	return stats.isFile() && (exports.endsWith(file, '.md') || exports.endsWith(file, '.markdown'));
}

@@ -1,24 +1,52 @@
+var%09S = require('string');%0A%0A
 exports.isMarkdownFilena
@@ -79,23 +79,27 @@
 %09return 
-exports
+S(filename)
 .endsWit
@@ -92,38 +92,32 @@
 ename).endsWith(
-file, 
 '.md') %7C%7C export
@@ -102,39 +102,43 @@
 sWith('.md') %7C%7C 
-exports
+S(filename)
 .endsWith(file, 
@@ -123,38 +123,32 @@
 ename).endsWith(
-file, 
 '.markdown');%0A%7D%0A
@@ -182,16 +182,20 @@
 ion(file
+name
 , stats)
@@ -224,23 +224,27 @@
 e() && (
-exports
+S(filename)
 .endsWit
@@ -245,22 +245,16 @@
 ndsWith(
-file, 
 '.md') %7C
@@ -255,23 +255,27 @@
 md') %7C%7C 
-exports
+S(filename)
 .endsWit
@@ -280,14 +280,8 @@
 ith(
-file, 
 '.ma

correct several bugs in reed-util