Jonas Jenwald
c750514903
Simplify extractText
in web/pdf_find_controller.js
...
Currently this method first uses a loop to build a temporary array to hold Promises, which are then resolved from a recursive helper function once the textContent is fetched for each page.
To me, this is unncessarily complicated, since we can do everything within one loop by simply chaining the asynchronous calls to retrieve the textContent. (Note that this guarantees that the textContent of the pages is still fetched sequentially.)
2017-05-10 14:09:15 +02:00
..
2016-07-10 17:49:16 +08:00
2015-01-26 16:44:45 +01:00
2017-04-12 23:05:25 +02:00
2017-04-29 20:29:04 +02:00
2017-05-09 13:46:54 +02:00
2015-08-14 18:59:55 +02:00
2017-04-29 20:29:04 +02:00
2017-02-23 19:18:44 -06:00
2011-07-05 10:53:57 -07:00
2017-05-04 17:13:09 +02:00
2017-02-08 12:39:24 +01:00
2017-04-14 10:32:36 -05:00
2017-04-17 13:34:30 +02:00
2017-04-29 20:29:04 +02:00
2017-05-04 17:13:09 +02:00
2017-04-23 21:14:58 +02:00
2017-04-09 11:55:48 +02:00
2017-05-07 21:30:07 +02:00
2017-05-07 22:01:49 +02:00
2017-05-04 17:13:09 +02:00
2017-04-16 15:17:23 +02:00
2017-05-04 17:13:09 +02:00
2017-05-07 10:16:03 +02:00
2017-04-16 23:12:11 +02:00
2017-05-10 14:09:15 +02:00
2017-04-17 00:54:29 +02:00
2017-04-29 20:29:04 +02:00
2017-04-23 16:06:15 +02:00
2017-04-29 20:29:04 +02:00
2017-04-27 16:23:29 +02:00
2017-05-04 17:13:09 +02:00
2017-04-27 16:23:30 +02:00
2017-04-23 17:13:51 +02:00
2017-04-16 12:45:24 +02:00
2017-05-04 17:13:09 +02:00
2017-03-04 21:43:25 +01:00
2016-04-28 13:30:03 -05:00
2017-05-04 17:13:09 +02:00
2017-04-25 13:37:56 +02:00
2017-05-07 10:16:03 +02:00
2017-05-07 21:43:50 +02:00
2015-12-02 23:00:12 +01:00
2017-05-04 17:13:09 +02:00
2017-04-29 20:29:04 +02:00
2017-05-07 10:16:03 +02:00
2017-04-27 11:49:35 +02:00
2014-05-13 02:41:01 +02:00
2015-08-14 18:59:55 +02:00
2016-02-14 13:23:34 +01:00
2016-02-14 13:23:34 +01:00
2016-02-14 13:23:34 +01:00
2017-03-10 13:49:24 +01:00
2017-04-16 15:17:23 +02:00
2017-04-20 17:23:30 +02:00