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
b17a629c
Commit
b17a629c
authored
Jun 07, 2021
by
Kyle Keating
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Include experimental in "all" config contexts"
This reverts commit e4b6004183fc4fe8b8b10000c700cdb4613b528d.
parent
5e4783f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
index.js
src/annotator/config/index.js
+1
-8
No files found.
src/annotator/config/index.js
View file @
b17a629c
...
@@ -61,14 +61,7 @@ function configurationKeys(appContext) {
...
@@ -61,14 +61,7 @@ function configurationKeys(appContext) {
return
contexts
.
notebook
;
return
contexts
.
notebook
;
case
'all'
:
case
'all'
:
// Complete list of configuration keys used for testing.
// Complete list of configuration keys used for testing.
return
[
return
[...
contexts
.
annotator
,
...
contexts
.
sidebar
,
...
contexts
.
notebook
];
...
contexts
.
annotator
,
...
contexts
.
sidebar
,
...
contexts
.
notebook
,
// "experimental" currently has no uses in any app contexts, but is included
// for test coverage
'experimental'
,
];
default
:
default
:
throw
new
Error
(
`Invalid application context used: "
${
appContext
}
"`
);
throw
new
Error
(
`Invalid application context used: "
${
appContext
}
"`
);
}
}
...
...
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