• Robert Knight's avatar
    Remove `updateViewModel` · 5408f2f3
    Robert Knight authored
    The `updateViewModel()` function was responsible for computing several
    pieces of data (links, document domain and title) used by the annotation
    template.
    
    Since we can now rely on vm.annotation being immutable, we can just
    compute this data lazily when we need it and use memoization to avoid
    unnecessary recalculation.
    5408f2f3
Name
Last commit
Last update
..
static Loading commit data...
templates/client Loading commit data...