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

Move tabs to util directory

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