1. 14 Jun, 2018 10 commits
  2. 12 Jun, 2018 1 commit
    • Robert Knight's avatar
      Fix "No results for {query}" message · 01915c04
      Robert Knight authored
      Usage of `vm.search.query` in the `<sidebar-content>` template was
      incorrect. `vm.search` is always set and `query` is a function that
      returns a string, not a string.
      
      Fixes #9
      01915c04
  3. 08 Jun, 2018 4 commits
  4. 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
  5. 28 May, 2018 1 commit
  6. 25 May, 2018 4 commits
  7. 14 May, 2018 2 commits
  8. 11 May, 2018 2 commits
  9. 10 May, 2018 5 commits
  10. 09 May, 2018 2 commits
  11. 08 May, 2018 1 commit
  12. 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
  13. 30 Apr, 2018 2 commits
  14. 25 Apr, 2018 2 commits