1. 04 May, 2015 1 commit
    • Randall Leeds's avatar
      Distinguish brand color from error color · b467a79a
      Randall Leeds authored
      We don't want our brand to be associated with errors and warnings
      by virtue of using the same colors for both.
      
      This clarifies things a bit by choosing a suitable orange red for
      the error base.
      
      As an additional touch-up for the colors this adds a function to
      do return color "weights" giving color values similar to those in
      Google's Material Design color palettes.
      b467a79a
  2. 01 May, 2015 3 commits
  3. 30 Apr, 2015 8 commits
  4. 29 Apr, 2015 2 commits
  5. 28 Apr, 2015 2 commits
  6. 27 Apr, 2015 1 commit
  7. 22 Apr, 2015 1 commit
  8. 19 Apr, 2015 1 commit
    • Randall Leeds's avatar
      Move double embed protection to embed.js · 915bdc80
      Randall Leeds authored
      Logically, it makes sense to prevent double _embedding_ in the embed
      code.
      
      Also, there may come a time when it's acceptable and possible to
      instantiate the application multiple times for different parts of a
      document.
      
      Finally, this prevents loading CSS and polyfills twice, as well.
      915bdc80
  9. 18 Apr, 2015 3 commits
  10. 17 Apr, 2015 2 commits
    • Randall Leeds's avatar
      Wait for DOM ready to constructor the annotator · f5316903
      Randall Leeds authored
      This change also means that the application actually starts after
      the `noConflict` calls have erased any trace of Annotator or jQuery
      from the global object.
      
      AnnotationSync was using $.extend. Since I don't want to depend on
      jQuery in the widget application indefinitely and I don't want to
      depend on Annotator either there is not a single place to get this
      function that works in both environments. Instead, a single purpose
      module from NPM for extend is pulled in. Small modules FTW.
      f5316903
    • Randall Leeds's avatar
      Remove dead code · a4e4eb80
      Randall Leeds authored
      a4e4eb80
  11. 16 Apr, 2015 14 commits
  12. 15 Apr, 2015 1 commit
  13. 10 Apr, 2015 1 commit