1. 06 Jun, 2018 1 commit
    • Robert Knight's avatar
      Convert PdfSidebar to JS · 345a0599
      Robert Knight authored
      ES 6 does not provide a direct equivalent for CoffeeScript's static
      class properties so the initialization of `options` has been refactored
      to use `Object.assign()` as a more idiomatic way to combine the config
      args passed to the constructor with the defaults for `PdfSidebar`.
      345a0599
  2. 28 May, 2018 1 commit
  3. 25 May, 2018 4 commits
  4. 14 May, 2018 2 commits
  5. 11 May, 2018 2 commits
  6. 10 May, 2018 5 commits
  7. 09 May, 2018 2 commits
  8. 08 May, 2018 1 commit
  9. 01 May, 2018 3 commits
    • Robert Knight's avatar
      Fix test failure in Chrome caused by lack of isolation between tests · d98aff1a
      Robert Knight authored
      A `<link>` tag with a relative URL from a previous test was causing
      problems in Chrome when testing the behavior of `Document#uri` in
      documents with a non-HTTP/file `<base>`.
      
      That is an edge case which we may want to cover at some point, but the
      more significant issue is that the `Document#uri` tests were not
      isolated from the earlier ones. Modify the `createDoc` helper so that it
      uses a blank HTML document instead of using the global `document`
      object.
      d98aff1a
    • Robert Knight's avatar
      Always get metadata from injected DOM Document · 940421c9
      Robert Knight authored
      The `Document` class for reading DOM document metadata takes an optional
      DOM `Document` constructor argument as a test seam.
      
      However the actual code only used the injected document in some places,
      in others it used jQuery which in turn reads from the global
      `window.document`.
      
      Refactor this code to use the injected DOM Document everywhere and
      remove the jQuery dependency.
      940421c9
    • Robert Knight's avatar
      Fix indentation of a few comment lines · b11801e4
      Robert Knight authored
      b11801e4
  10. 30 Apr, 2018 2 commits
  11. 25 Apr, 2018 2 commits
  12. 20 Apr, 2018 6 commits
  13. 19 Apr, 2018 5 commits
  14. 18 Apr, 2018 1 commit
  15. 17 Apr, 2018 3 commits