pdfjs-bower

WebJar for pdfjs-bower

License

License

Categories

Categories

JavaScript Languages PDF Data
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

pdfjs-bower
Last Version

Last Version

1.0.233
Release Date

Release Date

Type

Type

jar
Description

Description

pdfjs-bower
WebJar for pdfjs-bower
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/joseym/pdfjs-bower

Download pdfjs-bower

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/pdfjs-bower/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>pdfjs-bower</artifactId>
    <version>1.0.233</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/pdfjs-bower/
implementation 'org.webjars.bower:pdfjs-bower:1.0.233'
// https://jarcasting.com/artifacts/org.webjars.bower/pdfjs-bower/
implementation ("org.webjars.bower:pdfjs-bower:1.0.233")
'org.webjars.bower:pdfjs-bower:jar:1.0.233'
<dependency org="org.webjars.bower" name="pdfjs-bower" rev="1.0.233">
  <artifact name="pdfjs-bower" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='pdfjs-bower', version='1.0.233')
)
libraryDependencies += "org.webjars.bower" % "pdfjs-bower" % "1.0.233"
[org.webjars.bower/pdfjs-bower "1.0.233"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

A bower build for mozilla/pdf.js

Usage

bower install pdfjs-bower --save

Link the necessary javascript files into your page.

<script src="/bower_components/pdfjs-bower/dist/compatibility.js"></script>
<script src="/bower_components/pdfjs-bower/dist/pdf.js"></script>

Enjoy


Updating or building manually

Currently the build is for pdf.js v1.0.233. You can build yourself by doing the following

Prepping (getting pdf.js)
  • git clone https://github.com/joseym/pdfjs-bower.git
  • git submodule init
  • git submodule update -- used to get the current version of pdf.js
Building

In your terminal please navigate to where the project is cloned

  • cd pdfjs-bower
  • npm install -d
  • grunt

You should now see 3 files within the dist directory

  • pdf.js
  • pdf.woker.js
  • compatibility.js

Versions

Version
1.0.233