Commit 02235b72 authored by Hannah Stepanek's avatar Hannah Stepanek

Move tabs to util directory

parent fd4592b1
......@@ -2,7 +2,7 @@
const events = require('../events');
const isThirdPartyService = require('../util/is-third-party-service');
const tabs = require('../tabs');
const tabs = require('../util/tabs');
// @ngInject
function SidebarContentController(
......
......@@ -4,7 +4,7 @@ const buildThread = require('../build-thread');
const events = require('../events');
const memoize = require('../util/memoize');
const metadata = require('../util/annotation-metadata');
const tabs = require('../tabs');
const tabs = require('../util/tabs');
const uiConstants = require('../ui-constants');
function truthyKeys(map) {
......
'use strict';
// Selectors that calculate the annotation counts displayed in tab headings
// and determine which tab an annotation should be displayed in.
// Functions that determine which tab an annotation should be displayed in.
const metadata = require('./util/annotation-metadata');
const uiConstants = require('./ui-constants');
const metadata = require('./annotation-metadata');
const uiConstants = require('../ui-constants');
/**
* Return the tab in which an annotation should be displayed.
......
'use strict';
const fixtures = require('./annotation-fixtures');
const uiConstants = require('../ui-constants');
const fixtures = require('../../test/annotation-fixtures');
const uiConstants = require('../../ui-constants');
const tabs = require('../tabs');
const unroll = require('../../shared/test/util').unroll;
const unroll = require('../../../shared/test/util').unroll;
describe('tabs', function() {
describe('tabForAnnotation', function() {
......
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