Commit f6a57e1d authored by Robert Knight's avatar Robert Knight

Run eslint --fix

Run `eslint --fix` to fix lint failures after ESLint update.
parent eaf950df
......@@ -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
......
......@@ -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.`
);
}
......
......@@ -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.
*
......
......@@ -24,7 +24,7 @@ const util = require('../util');
*/
const TAB_DEFAULT = uiConstants.TAB_ANNOTATIONS;
/**
/**
* Default sort keys for each tab.
*/
const TAB_SORTKEY_DEFAULT = {};
......
......@@ -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__';
/**
......
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