Skip to content

0.9.0

Compare
Choose a tag to compare
@cburgmer cburgmer released this 23 Apr 21:06
· 308 commits to master since this release
  • A new option zoom allows the displayed content to be zoomed.
  • When executing JavaScript (executeJs set to true), drawing will now wait for pending XMLHttpRequests to finish.
  • An Invalid source error is now thrown if the input has invalid syntax. Before, this just resulted in the more general Error rendering page being thrown.
  • The npm package is now requirable via browserify. (Fixes #54)
  • The all-in-one bundle now doesn't pollute the global namespace with its dependencies. If you relied on them being pulled in through rasterizeHTML.allinone.js in the past, you will need to load those dependencies yourself. (Fixes #52)
  • The rasterizeHTML.js distributable now comes with a proper UMD header and does not pollute the namespace with internal modules (see #52). If you relied on specific internal code (the API documentation did try to discourage you from doing so), you have two options:
    • Check if one of the dependencies rasterizeHTML.js is using is what you are actually looking for.
    • Raise a ticket to discuss whether that functionality should be (re-)exposed.