1. 29 Oct, 2019 3 commits
    • Robert Knight's avatar
      Remove unnecessary `$onInit` callback · 9e858939
      Robert Knight authored
      It turns out that `$onChanges` is invoked both when the component is
      initially created as well as subsequent updates. Therefore `$onInit` and
      `$onChanges` duplicated work and components were rendered twice during
      initial creation.
      9e858939
    • Robert Knight's avatar
      Allow function props to be invoked during a digest cycle · 50b0996b
      Robert Knight authored
      Allow function props passed to Preact components wrapped with
      `wrapReactComponent` to be invoked when a digest cycle is already active
      for some reason. In that case using `$scope.$apply` triggers an error.
      
      This scenario is rare, as callbacks are usually invoked in response to
      events that happen outside of Angular, but changes made by Angular code
      can indirectly cause Preact components to invoke callbacks. For example,
      in layout effects which run at the end of a `render` call.
      50b0996b
    • Robert Knight's avatar
      Merge pull request #1449 from hypothesis/fix-pdf-position-anchoring-bug · 1c80ed66
      Robert Knight authored
      Fix PDF anchoring when annotation refers to last text on a page
      1c80ed66
  2. 28 Oct, 2019 17 commits
  3. 25 Oct, 2019 6 commits
  4. 24 Oct, 2019 2 commits
  5. 22 Oct, 2019 6 commits
  6. 21 Oct, 2019 6 commits