Commit 668d2c4b authored by Eduardo Sanz García's avatar Eduardo Sanz García Committed by Eduardo

Avoid import aliases

Unless the actual name is really verbose or conflicts with another variable, we prefer to avoid import aliases.
parent f36c87e3
......@@ -19,7 +19,7 @@ import { countIf, toTrueMap, trueKeys } from '../../util/collections';
import * as util from '../util';
import { createStoreModule } from '../create-store';
import { routeModule as route } from './route';
import { routeModule } from './route';
/**
* Return a copy of `current` with all matching annotations in `annotations`
......@@ -267,7 +267,7 @@ function addAnnotations(annotations) {
// If we're not in the sidebar, we're done here.
// FIXME Split the annotation-adding from the anchoring code; possibly
// move into service
if (route.selectors.route(getState().route) !== 'sidebar') {
if (routeModule.selectors.route(getState().route) !== 'sidebar') {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment