diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-04-09 20:22:30 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-04-09 20:22:30 +0100 |
| commit | a02b92d7b7d95ab2e8f9e2dfb8a7661b61306674 (patch) | |
| tree | 8a043ea63bdc1017aae0fa9477821707b12683c8 /lib | |
| parent | a424b4fd717ab97f66a00be5ac026d6dcf3b46ce (diff) | |
Remove unused function
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/document-to-html.js | 15 |
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(); - } - } -} |
