Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
ac12bdbb
Commit
ac12bdbb
authored
Jan 31, 2022
by
Eduardo Sanz García
Committed by
Eduardo
Feb 01, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BucketBar: convert to named export
parent
2d1b7010
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
bucket-bar.js
src/annotator/bucket-bar.js
+1
-1
sidebar.js
src/annotator/sidebar.js
+1
-1
bucket-bar-test.js
src/annotator/test/bucket-bar-test.js
+1
-1
sidebar-test.js
src/annotator/test/sidebar-test.js
+1
-1
No files found.
src/annotator/bucket-bar.js
View file @
ac12bdbb
...
...
@@ -14,7 +14,7 @@ import { computeBuckets } from './util/buckets';
*
* @implements {Destroyable}
*/
export
default
class
BucketBar
{
export
class
BucketBar
{
/**
* @param {HTMLElement} container
* @param {object} options
...
...
src/annotator/sidebar.js
View file @
ac12bdbb
...
...
@@ -6,7 +6,7 @@ import { ListenerCollection } from '../shared/listener-collection';
import
{
PortRPC
}
from
'../shared/messaging'
;
import
{
annotationCounts
}
from
'./annotation-counts'
;
import
BucketBar
from
'./bucket-bar'
;
import
{
BucketBar
}
from
'./bucket-bar'
;
import
{
createAppConfig
}
from
'./config/app'
;
import
{
features
}
from
'./features'
;
import
sidebarTrigger
from
'./sidebar-trigger'
;
...
...
src/annotator/test/bucket-bar-test.js
View file @
ac12bdbb
import
BucketBar
,
{
$imports
}
from
'../bucket-bar'
;
import
{
BucketBar
,
$imports
}
from
'../bucket-bar'
;
describe
(
'BucketBar'
,
()
=>
{
let
bucketBars
;
...
...
src/annotator/test/sidebar-test.js
View file @
ac12bdbb
...
...
@@ -155,7 +155,7 @@ describe('Sidebar', () => {
$imports
.
$mock
({
'../shared/frame-error-capture'
:
{
sendErrorsTo
:
fakeSendErrorsTo
},
'../shared/messaging'
:
{
PortRPC
:
FakePortRPC
},
'./bucket-bar'
:
{
default
:
FakeBucketBar
},
'./bucket-bar'
:
{
BucketBar
:
FakeBucketBar
},
'./config/app'
:
{
createAppConfig
:
fakeCreateAppConfig
},
'./toolbar'
:
{
ToolbarController
:
FakeToolbarController
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment