• Paul Slaughter's avatar
    Replace ide_router export with factory function · e7148253
    Paul Slaughter authored
    - Creates factory function for router that takes
      in a store reference.
    - Updates store to use router module instead of
      reference to router singleton
    - Use sync_router_and_store utility
    
    This allows ide_router not to be coupled to a
    singleton store instance, but accept this as
    a parameter. This helps greatly with some test
    set up and breaking the cyclical dependency.
    e7148253
file.js 9 KB