1. 22 Nov, 2014 5 commits
    • Randall Leeds's avatar
      Refactor to avoid renders and add tests · e2b3b544
      Randall Leeds authored
      Rather than watching a bunch of subproperties, the most complex of
      which are the targets, deep watch the whole annotation. The targets
      were being deep watched already. This just seems much easier and
      clearer than debouncing the render calls, and scales to whatever
      properties much change in the future. We'll re-evaluate if this
      becomes a bottleneck.
      e2b3b544
    • Randall Leeds's avatar
      Avoid unnecessary annotation renders · 7774abe7
      Randall Leeds authored
      The pattern of comparing the new value passed to a watcher with the old
      value is idiomatic angular for avoiding the first digest. Instead, the
      first digest is covered by the watch on the model reference identity.
      After the initial rendering, the model will not change but the other
      properties may, at which point re-rendering will occur.
      7774abe7
    • Randall Leeds's avatar
      8a500a03
    • Randall Leeds's avatar
      tabs -> spaces · fbd715dd
      Randall Leeds authored
      fbd715dd
    • csillag's avatar
      Move showDiff from target level to annotation level. · 91c24588
      csillag authored
      Calculate the `showDiff` flag for the whole annotation,
      instead of on a per-target basis.
      
      Benefits:
       - One less variable stored inside the annotation model
       - We can more easily avoid unwanted overrides of the manually set value.
      91c24588
  2. 21 Nov, 2014 7 commits
  3. 18 Nov, 2014 3 commits
  4. 17 Nov, 2014 1 commit
  5. 16 Nov, 2014 2 commits
  6. 15 Nov, 2014 1 commit
  7. 14 Nov, 2014 19 commits
  8. 13 Nov, 2014 2 commits