Browse Source

Fix coding style in web/pdf_find_controller.js

Jonas Jenwald 11 years ago
parent
commit
af4e977848
  1. 6
      web/pdf_find_controller.js

6
web/pdf_find_controller.js

@ -13,11 +13,10 @@ @@ -13,11 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* globals PDFFindBar, PDFJS, FindStates, FirefoxCom, Promise */
'use strict';
/* globals PDFFindBar, PDFJS, FindStates, FirefoxCom, Promise */
/**
* Provides a "search" or "find" functionality for the PDF.
* This object actually performs the search for a given string.
@ -157,9 +156,10 @@ var PDFFindController = { @@ -157,9 +156,10 @@ var PDFFindController = {
self.pageContents.push(str);
extractTextPromisesResolves[pageIndex](pageIndex);
if ((pageIndex + 1) < self.pdfPageSource.pages.length)
if ((pageIndex + 1) < self.pdfPageSource.pages.length) {
extractPageText(pageIndex + 1);
}
}
);
}
extractPageText(0);

Loading…
Cancel
Save