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
f6a57e1d
Commit
f6a57e1d
authored
Jan 25, 2019
by
Robert Knight
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run eslint --fix
Run `eslint --fix` to fix lint failures after ESLint update.
parent
eaf950df
Changes
30
Show whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
144 additions
and
144 deletions
+144
-144
gulpfile.js
gulpfile.js
+1
-1
decaf.js
scripts/decaf/decaf.js
+1
-1
create-bundle.js
scripts/gulp/create-bundle.js
+1
-1
index.js
src/annotator/index.js
+2
-2
pdf-metadata-test.js
src/annotator/plugin/test/pdf-metadata-test.js
+3
-3
anchoring-test.js
src/annotator/test/integration/anchoring-test.js
+1
-1
observable.js
src/annotator/util/observable.js
+3
-3
discovery.js
src/shared/discovery.js
+1
-1
annotation.js
src/sidebar/components/annotation.js
+2
-2
markdown.js
src/sidebar/components/markdown.js
+1
-1
annotation-test.js
src/sidebar/components/test/annotation-test.js
+5
-5
login-control-test.js
src/sidebar/components/test/login-control-test.js
+1
-1
h-branding-test.js
src/sidebar/directive/test/h-branding-test.js
+2
-2
index.js
src/sidebar/index.js
+80
-80
markdown-commands.js
src/sidebar/markdown-commands.js
+1
-1
frame-sync.js
src/sidebar/services/frame-sync.js
+1
-1
groups.js
src/sidebar/services/groups.js
+1
-1
oauth-auth.js
src/sidebar/services/oauth-auth.js
+1
-1
session.js
src/sidebar/services/session.js
+1
-1
streamer.js
src/sidebar/services/streamer.js
+1
-1
api-test.js
src/sidebar/services/test/api-test.js
+8
-8
groups-test.js
src/sidebar/services/test/groups-test.js
+2
-2
permissions-test.js
src/sidebar/services/test/permissions-test.js
+3
-3
tags-test.js
src/sidebar/services/test/tags-test.js
+1
-1
view-filter.js
src/sidebar/services/view-filter.js
+13
-13
annotations.js
src/sidebar/store/modules/annotations.js
+2
-2
selection.js
src/sidebar/store/modules/selection.js
+1
-1
markdown-commands-test.js
src/sidebar/test/markdown-commands-test.js
+2
-2
media-embedder-test.js
src/sidebar/test/media-embedder-test.js
+1
-1
group-organizations.js
src/sidebar/util/group-organizations.js
+1
-1
No files found.
gulpfile.js
View file @
f6a57e1d
scripts/decaf/decaf.js
View file @
f6a57e1d
scripts/gulp/create-bundle.js
View file @
f6a57e1d
src/annotator/index.js
View file @
f6a57e1d
src/annotator/plugin/test/pdf-metadata-test.js
View file @
f6a57e1d
src/annotator/test/integration/anchoring-test.js
View file @
f6a57e1d
src/annotator/util/observable.js
View file @
f6a57e1d
...
...
@@ -7,7 +7,7 @@
const
Observable
=
require
(
'zen-observable'
);
/**
/**
* Returns an observable of events emitted by a DOM event source
* (eg. an Element, Document or Window).
*
...
...
@@ -54,7 +54,7 @@ function delay(delay, src) {
});
}
/**
/**
* Buffers events from a source Observable, waiting for a pause of `delay`
* ms with no events before emitting the last value from `src`.
*
...
...
@@ -86,7 +86,7 @@ function buffer(delay, src) {
});
}
/**
/**
* Merges multiple streams of values into a single stream.
*
* @param {Array<Observable>} sources
...
...
src/shared/discovery.js
View file @
f6a57e1d
...
...
@@ -189,7 +189,7 @@ class Discovery {
discovered
=
true
;
}
else
if
(
messageType
===
'offer'
||
messageType
===
'ack'
)
{
throw
new
Error
(
`A second Discovery server has been detected at
${
origin
}
.
`A second Discovery server has been detected at
${
origin
}
.
This is unsupported and will cause unexpected behaviour.`
);
}
...
...
src/sidebar/components/annotation.js
View file @
f6a57e1d
src/sidebar/components/markdown.js
View file @
f6a57e1d
src/sidebar/components/test/annotation-test.js
View file @
f6a57e1d
src/sidebar/components/test/login-control-test.js
View file @
f6a57e1d
src/sidebar/directive/test/h-branding-test.js
View file @
f6a57e1d
src/sidebar/index.js
View file @
f6a57e1d
src/sidebar/markdown-commands.js
View file @
f6a57e1d
src/sidebar/services/frame-sync.js
View file @
f6a57e1d
...
...
@@ -16,7 +16,7 @@ const uiConstants = require('../ui-constants');
* for PDFs
*/
/**
/**
* Return a minimal representation of an annotation that can be sent from the
* sidebar app to a connected frame.
*
...
...
src/sidebar/services/groups.js
View file @
f6a57e1d
src/sidebar/services/oauth-auth.js
View file @
f6a57e1d
src/sidebar/services/session.js
View file @
f6a57e1d
src/sidebar/services/streamer.js
View file @
f6a57e1d
src/sidebar/services/test/api-test.js
View file @
f6a57e1d
src/sidebar/services/test/groups-test.js
View file @
f6a57e1d
src/sidebar/services/test/permissions-test.js
View file @
f6a57e1d
src/sidebar/services/test/tags-test.js
View file @
f6a57e1d
src/sidebar/services/view-filter.js
View file @
f6a57e1d
src/sidebar/store/modules/annotations.js
View file @
f6a57e1d
src/sidebar/store/modules/selection.js
View file @
f6a57e1d
...
...
@@ -24,7 +24,7 @@ const util = require('../util');
*/
const
TAB_DEFAULT
=
uiConstants
.
TAB_ANNOTATIONS
;
/**
/**
* Default sort keys for each tab.
*/
const
TAB_SORTKEY_DEFAULT
=
{};
...
...
src/sidebar/test/markdown-commands-test.js
View file @
f6a57e1d
src/sidebar/test/media-embedder-test.js
View file @
f6a57e1d
src/sidebar/util/group-organizations.js
View file @
f6a57e1d
...
...
@@ -2,7 +2,7 @@
const
immutable
=
require
(
'seamless-immutable'
);
// TODO: Update when this is a property available on the API response
// TODO: Update when this is a property available on the API response
const
DEFAULT_ORG_ID
=
'__default__'
;
/**
...
...
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