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 @@
* 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…
Cancel
Save