mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Adds gulp dist-install command; using pdfjs-dist package in examples.
This commit is contained in:
parent
9342054502
commit
a18caa730d
24 changed files with 70 additions and 53 deletions
|
@ -10,8 +10,8 @@ var fs = require('fs');
|
|||
// HACK few hacks to let PDF.js be loaded not as a module in global space.
|
||||
require('./domstubs.js');
|
||||
|
||||
// Run `gulp dist` to generate 'pdfjs-dist' npm package files.
|
||||
var pdfjsLib = require('../../build/dist');
|
||||
// Run `gulp dist-install` to generate 'pdfjs-dist' npm package files.
|
||||
var pdfjsLib = require('pdfjs-dist');
|
||||
|
||||
// Loading file from file system into typed array
|
||||
var pdfPath = process.argv[2] || '../../web/compressed.tracemonkey-pldi-09.pdf';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue