aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/document-to-html.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js
index ab7dca4..fe3b566 100644
--- a/lib/document-to-html.js
+++ b/lib/document-to-html.js
@@ -113,18 +113,3 @@ function DocumentConverter(options) {
convertToHtml: convertToHtml
}
}
-
-function forEachPromise(array, func) {
- var index = -1;
- return next();
-
- function next() {
- index++;
- if (index < array.length) {
- return q.when(func(array[index]))
- .then(next);
- } else {
- return q.when();
- }
- }
-}