Jonas Jenwald 39a1fce59b Refactor PDFFindController to use the 'pagesinit' event, dispatched on the eventBus, to resolve the _firstPagePromise
Rather than having to manually call a method on `PDFFindController` instances from `BaseViewer.setDocument`, thus essentially having to resolve the private `_firstPagePromise` from the "outside", this can be done easily with the 'pagesinit' event dispatched on the `eventBus` instead.
Please note this particular `PDFFindController` code pre-dates the `eventBus` by almost three years, which should explain why the code looks the way it does.
2018-07-01 16:25:51 +02:00
..
2018-05-14 23:10:32 -04:00
2018-04-01 23:20:41 +02:00
2018-05-14 23:10:32 -04:00
2018-05-14 23:10:32 -04:00
2018-05-14 23:10:32 -04:00