1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 17:48:07 +02:00

Convert the PDFDocument class in src/core/document.js to ES6 syntax

This commit is contained in:
Tim van der Meij 2018-12-29 16:18:36 +01:00
parent 612fc9fcc2
commit d5e5d18430
No known key found for this signature in database
GPG key ID: 8C3FD2925A5F2762
2 changed files with 300 additions and 293 deletions

View file

@ -12,6 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* eslint no-var: error */
import {
arrayByteLength, arraysToBytes, createPromiseCapability, isEmptyObj,