1. 25 Aug, 2015 4 commits
    • Randall Leeds's avatar
      Use raf module · dd3bd1da
      Randall Leeds authored
      The scroll-into-view module already depends on raf, it's tiny, and
      this lets us drop the bundled vendor lib. It also makes the guest
      and host tests more consistent.
      dd3bd1da
    • Randall Leeds's avatar
      Remove unused vendor lib · 4678f811
      Randall Leeds authored
      4678f811
    • Randall Leeds's avatar
      Switch from es6-promise to core-js · 474e1974
      Randall Leeds authored
      This lets us require Promise without polluting the global namespace.
      Additionally, the core-js implementation has immediacy hacks that
      will make it more performant for IE.
      
      This also caught some issues with our async tests.
      
      And hey, it's about 700 bytes smaller, too!
      474e1974
    • Randall Leeds's avatar
      Fix typo in tests · 5497f6e3
      Randall Leeds authored
      5497f6e3
  2. 24 Aug, 2015 1 commit
    • Randall Leeds's avatar
      Move the dialogs into a content container · 11f04d4f
      Randall Leeds authored
      This fixes the dialogs to have the same space around them as the
      main content. It's a bit like re-introducing the #wrapper, but with
      a class this time that's re-used by the topbar for sizing its content.
      11f04d4f
  3. 20 Aug, 2015 2 commits
    • Randall Leeds's avatar
      Let the compass filter do the url rewrites · 446d5c15
      Randall Leeds authored
      This is a little bit confusing, but it is better this way. It's
      confusing because webassets doesn't set the compass image directory,
      so the paths still have an "images/" prefix. However, the cssrewrite
      filter uses the output URL from webassets and that will be an absolute
      URL at request time. The compass filter uses only the base URL from the
      environment configuration, which is relative. Letting compass do the
      rewriting therefore results in merged compass files having correct, but
      relative, paths regardless of whether the assets are generated at the
      command line or at request time. This should make it possible to pre-
      compile the assets before the first request without generating bad
      URLs, and to virtual host the application under multiple URLs.
      446d5c15
    • Randall Leeds's avatar
      Upgrade clean-css · 6d1dc9c1
      Randall Leeds authored
      In order to upgrade clean-css it is necessary to import the filter
      definition from the future version of webassets. This version takes
      extra arguments in the filter configuration, allowing us to disable
      the advanced optimizations that became the default in 3.0+ but that
      breaks some of our styles.
      6d1dc9c1
  4. 19 Aug, 2015 12 commits
  5. 18 Aug, 2015 6 commits
  6. 17 Aug, 2015 2 commits
  7. 14 Aug, 2015 6 commits
  8. 13 Aug, 2015 4 commits
    • Randall Leeds's avatar
      Switch to scroll-into-view · 9cfad021
      Randall Leeds authored
      New version released has a my fix for height 100% html and body tags.
      Restores scroll-to-annotation in PDFs.
      9cfad021
    • Randall Leeds's avatar
      Give the bucket indicators an explicit height · 2e09b261
      Randall Leeds authored
      This makes the code easier to understand because it makes explicit
      the relationship to the line height of the label.
      2e09b261
    • Randall Leeds's avatar
      Improve use of BucketBar constants · cc81396f
      Randall Leeds authored
      Close #2421
      cc81396f
    • Randall Leeds's avatar
      Improve symmetry for AnnotationSync · 50775462
      Randall Leeds authored
      This change simplifies the AnnotationSync events and improves the
      frame symmetry by giving the guest its own AnnotationSync setup
      function, alongside its AnnotationUISync setup, that mirrors the
      way its handled in the widget.
      
      Previously, the `loadAnnotations` and `deleteAnnotations` events
      were treated specially by AnnotationSync so that it didn't cause
      endless loops. Instead, fully embrace the fact that the guest is
      not responsible for loading or deleting annotations.
      
      - Remove the setupAnnotation and deleteAnnotation methods, as they are
        no longer used.
      
      - Factor out everything but the event publication of deleteAnnotation
        into a detach method that is the inverse of the anchor method.
      
      - Subscribe to annotationsLoaded and annotationDeleted and invoke anchor
        and detach accordingly.
      50775462
  9. 12 Aug, 2015 3 commits