Replacing custom bundling with webpack2.
This commit is contained in:
parent
d7cb46dafc
commit
eb4c88cd44
12 changed files with 330 additions and 321 deletions
|
@ -12,7 +12,6 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/* globals pdfjsVersion, pdfjsBuild */
|
||||
|
||||
'use strict';
|
||||
|
||||
|
@ -54,11 +53,9 @@
|
|||
}
|
||||
var PDFJS = globalScope.PDFJS;
|
||||
|
||||
if (typeof pdfjsVersion !== 'undefined') {
|
||||
PDFJS.version = pdfjsVersion;
|
||||
}
|
||||
if (typeof pdfjsBuild !== 'undefined') {
|
||||
PDFJS.build = pdfjsBuild;
|
||||
if (typeof PDFJSDev !== 'undefined') {
|
||||
PDFJS.version = PDFJSDev.eval('BUNDLE_VERSION');
|
||||
PDFJS.build = PDFJSDev.eval('BUNDLE_BUILD');
|
||||
}
|
||||
|
||||
PDFJS.pdfBug = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue