- 02 Sep, 2020 4 commits
-
-
dependabot-preview[bot] authored
Bumps [preact](https://github.com/preactjs/preact) from 10.4.7 to 10.4.8. - [Release notes](https://github.com/preactjs/preact/releases) - [Commits](https://github.com/preactjs/preact/compare/10.4.7...10.4.8) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [commander](https://github.com/tj/commander.js) from 6.0.0 to 6.1.0. - [Release notes](https://github.com/tj/commander.js/releases) - [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/tj/commander.js/compare/v6.0.0...v6.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [mocha](https://github.com/mochajs/mocha) from 8.1.1 to 8.1.3. - [Release notes](https://github.com/mochajs/mocha/releases) - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md) - [Commits](https://github.com/mochajs/mocha/compare/v8.1.1...v8.1.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Lyza Danger Gardner authored
For features going forward, nest in a single `experimental` object so that `experimental` features can be white-flagged in one go in, e.g., via
-
- 01 Sep, 2020 11 commits
-
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
- Don't close sidebar on click if the click is on highlighted annotation text. Fixes a judder (Fixes #2372) - Don't close sidebar on click if `closeSidebarOnDocumentClick` is falsey (for side-by-side support)
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
dependabot-preview[bot] authored
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.739.0 to 2.743.0. - [Release notes](https://github.com/aws/aws-sdk-js/releases) - [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js/compare/v2.739.0...v2.743.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [eslint](https://github.com/eslint/eslint) from 7.7.0 to 7.8.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v7.7.0...v7.8.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [prettier](https://github.com/prettier/prettier) from 2.1.0 to 2.1.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.1.0...2.1.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.0.3 to 18.0.4. - [Release notes](https://github.com/octokit/rest.js/releases) - [Commits](https://github.com/octokit/rest.js/compare/v18.0.3...v18.0.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.12 to 2.0.14. - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](https://github.com/cure53/DOMPurify/compare/2.0.12...2.0.14) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.11.0 to 7.11.5. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.11.5/packages/babel-preset-env) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.4 to 7.11.5. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.11.5/packages/babel-core) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 28 Aug, 2020 1 commit
-
-
Robert Knight authored
Remove logic for handling swipe gestures on the sidebar's toggle button. Trying to perform a swipe on a target as small as the toggle button is difficult and it doesn't offer advantages over just tapping the button to open and close. Behavior that _might_ be useful is being able to two-finger swipe on the whole sidebar to open or close it, but this conflicts with the browser's own swipe gesture handling. Just remove it entirely for now. - Remove swipe gesture handling - Remove unnecessary use of jQuery - Ensure that the `_setupGestures` code path is exercised by tests
-
- 27 Aug, 2020 5 commits
-
-
Robert Knight authored
This is a direct conversion with decaffeinate [1] followed by a manual line-by-line review to remove unnecessary `return` statements, fix lint errors and ensure consistency with our conventions. [1] https://github.com/decaffeinate/decaffeinate
-
Robert Knight authored
-
Robert Knight authored
Convert this module, but not its tests, to JS. This is a pretty straightforward conversion with a few minor improvements: - The initialization of `options` was rewritten in a way that is consistent with `PdfSidebar` and avoids a non-idiomatic way of passing initialization parameters from derived to base class - Some comments that were hard to parse were rewritten or removed if they stated something obvious - Private methods and fields related to gesture state were prefixed with an underscore. Some of the sidebar tests did and still do access these, which is not ideal.
-
Kyle Keating authored
range-js.js will eventually replace range.coffee and then rename to range.js once all the methods are converted. Include 2 initial functions in range-js - nodeFromXPath - xpathFromNode
-
Kyle Keating authored
Copy several util methods required to convert xpath.coffee, util.coffee and eventually range.coffee into javascirpt. This first step is to just convert the modules straight over and add basic unit tests for them which previously were missing. A few changes have been made: - findChild is exposed in part so it can be moved to this module and also be unit tested easily. - simpleXPathJQuery- will eventually go away, but as a first pass, its being ported - jquery is kept in this context, but eventually all methods that expect a jquery object will be converted over to pure js. - typechecking is not complete
-
- 26 Aug, 2020 2 commits
-
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
- Allow PDFs to benefit from shared/easily-updated client config
-
- 25 Aug, 2020 17 commits
-
-
Lyza Danger Gardner authored
- Rewrite dev server as `express` app - Add `mustache-express` as template engine - Restructure document directories; add PDFs - Add `pdfjs-init.js` script for embedding PDFJS with H client - Update linting config to ignore static scripts
-
Lyza Danger Gardner authored
-
Lyza Danger Gardner authored
-
Robert Knight authored
This changed formatting of integer values as object keys.
-
dependabot-preview[bot] authored
Bumps [prettier](https://github.com/prettier/prettier) from 2.0.5 to 2.1.0. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.0.5...2.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 5.21.1 to 5.21.4. - [Release notes](https://github.com/getsentry/sentry-javascript/releases) - [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-javascript/compare/5.21.1...5.21.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [terser](https://github.com/terser/terser) from 5.1.0 to 5.2.1. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/compare/v5.1.0...v5.2.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
dependabot-preview[bot] authored
Bumps [chance](https://github.com/chancejs/chancejs) from 1.1.6 to 1.1.7. - [Release notes](https://github.com/chancejs/chancejs/releases) - [Commits](https://github.com/chancejs/chancejs/compare/1.1.6...1.1.7) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Robert Knight authored
-
Robert Knight authored
TS 4.0 treats optional properties of type T as `T|undefined` and produces an error if the property is used in a situation where it may not be set.
-
Robert Knight authored
TS 4.0 complained in a few places that this function may return `undefined`.
-
Robert Knight authored
Add checks or tweak the code to make it obvious to TS that a value is not-null.
-
Robert Knight authored
The `id` property only exists once an annotation has been saved. Add casts in a few places where we know that this is the case.
-
Robert Knight authored
Remove ability to construct `RPC` class without calling `new`. This confused TypeScript's inference of the types of various fields.
-
Robert Knight authored
-
Robert Knight authored
Various methods in `DocumentMeta` assume that `this.metadata.{dc, highwire, ...}` properties exist, but this is only true once the `getDocumentMetadata()` function has been called. Adjust the constructor so that these fields always exist. Note that while this avoids an exception if calling certain methods before `getDocumentMetadata`, it would still be a logical error if that happened. For the moment such a mistake is just silently ignored.
-
Robert Knight authored
This is a vestige of the Annotator library which is no longer needed.
-