From a02b92d7b7d95ab2e8f9e2dfb8a7661b61306674 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 9 Apr 2013 20:22:30 +0100 Subject: Remove unused function --- lib/document-to-html.js | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'lib') 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(); - } - } -} -- cgit v1.2.3