mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Fix coding style in web/pdf_find_controller.js
This commit is contained in:
parent
2e09f14a80
commit
af4e977848
1 changed files with 3 additions and 3 deletions
|
@ -13,11 +13,10 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
/* globals PDFFindBar, PDFJS, FindStates, FirefoxCom, Promise */
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
/* globals PDFFindBar, PDFJS, FindStates, FirefoxCom, Promise */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides a "search" or "find" functionality for the PDF.
|
* Provides a "search" or "find" functionality for the PDF.
|
||||||
* This object actually performs the search for a given string.
|
* This object actually performs the search for a given string.
|
||||||
|
@ -157,8 +156,9 @@ var PDFFindController = {
|
||||||
self.pageContents.push(str);
|
self.pageContents.push(str);
|
||||||
|
|
||||||
extractTextPromisesResolves[pageIndex](pageIndex);
|
extractTextPromisesResolves[pageIndex](pageIndex);
|
||||||
if ((pageIndex + 1) < self.pdfPageSource.pages.length)
|
if ((pageIndex + 1) < self.pdfPageSource.pages.length) {
|
||||||
extractPageText(pageIndex + 1);
|
extractPageText(pageIndex + 1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue