Skip to content
/ pdfjs Public

Rails asset pipeline compatibility for pdfjs

License

Notifications You must be signed in to change notification settings

onehub/pdfjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pdfjs

Makes pdfjs conform to the directory structure required by the Rails asset pipeline.

Installing

Just chuck it in your Gemfile:

gem 'pdfjs', :git => "https://github.com/onehub/pdfjs"

Updating

All assets from the pdf.js project are included. To update these assets:

  1. Download the latest stable release from http://mozilla.github.io/pdf.js/getting_started/#download
  2. Drop into the gem source directory and type the following command:
  • rake pdfjs:clean
  • rake pdfjs:package SOURCE="/path/to/pdfjs/folder"

About

Rails asset pipeline compatibility for pdfjs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages