What's Changed
- change the cleaning method of the pages from
empty()
tohtml("")
to try to solve one reported bug when generating some pages - use plain HTML objects in callbacks instead of jQuery objects. The library still depends on jQuery (or a jQuery-compatible lib), and is compatible with jQuery.
- support for nojquery in the library (and prioritize the use over jQuery)
- create sourcemap files for minified dist files (i.e.
pdfjs-viewer.min.js.map
andpdfjs-viewer.min.css.map
) - move the distributable files to the
dist
folder (now the CDN links are https://cdn.jsdelivr.net/gh/dealfonso/pdfjs-viewer/dist/pdfjs-viewer.min.js and https://cdn.jsdelivr.net/gh/dealfonso/pdfjs-viewer/dist/pdfjs-viewer.min.css) - bug corrections
Full Changelog: 1.1.2...2.0.0