- 16 Jan, 2020 11 commits
-
-
Robert Knight authored
In preparation for conversion to an ES module, hoist an import to the top of the file.
-
Robert Knight authored
-
Robert Knight authored
This module has no tests :(
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
-
Robert Knight authored
These were not converted in the previous commit as they were not top-level statements in the file.
-
Robert Knight authored
-
Robert Knight authored
Convert text highlighter to JS
-
Robert Knight authored
-
Robert Knight authored
Convert src/boot to ES modules
-
- 15 Jan, 2020 4 commits
-
-
Robert Knight authored
- Add missing parameter / return type docs - Update a Chrome bug tracker issue link
-
Robert Knight authored
Remove the highlighter implementation abstraction layer in src/annotator/highlighter since only one type of highlighter was ever implemented and convert the one implementation in src/annotator/highlighter/dom-wrap-highlighter/index.coffee to JS as src/annotator/highlighter.js.
-
Robert Knight authored
-
Robert Knight authored
Convert remaining sidebar files to ES modules
-
- 14 Jan, 2020 18 commits
-
-
Robert Knight authored
Use the convert-to-es-modules script to convert the remaining CommonJS/Node module files in src/sidebar/ to ES modules.
-
Lyza Gardner authored
Convert src/sidebar/directives to ES modules
-
Robert Knight authored
This directory is likely to go away soon as part of the Angular => Preact migration. Nevertheless, I used the convert-to-es-modules script on it to convert to ES modules so we can complete that migration first.
-
Robert Knight authored
This is mostly to make it easier for the convert-to-es-modules script to preserve comments when these modules are converted to ES modules. However it may also be useful for debugging.
-
Robert Knight authored
Convert src/sidebar/store to ES modules
-
Robert Knight authored
This import should be hoisted to the top level of the module but a naive change to do this did not work. I suspect this relates to the circular nature of the import, but it needs investigating. This change enables the code to continue working until then.
-
Robert Knight authored
`$imports` is now a separate named export rather than a property of the default export.
-
Robert Knight authored
After converting the module under test to an ES module the mocked functions are now properties of the default export rather than named exports.
-
Robert Knight authored
-
Robert Knight authored
Use the convert-to-es-modules script from the frontend-toolkit repo to convert src/sidebar/store to ES modules.
-
Robert Knight authored
Convert src/sidebar/services to ES modules
-
Robert Knight authored
This comment was copied from the line where the `CACHE_TTL` var was defined when converting to ES modules.
-
Robert Knight authored
This imports from `src/sidebar/services` so it needed to be converted at the same time as the modules in that directory.
-
Robert Knight authored
Move an `events` export from being a property of the default export to a separate named export, which is more appropriate for ES modules.
-
Robert Knight authored
Use the convert-to-es-modules script from the frontend-toolkit repo to convert services to ES modules.
-
Lyza Gardner authored
Move new-annotation initialization into the store
-
Robert Knight authored
Bump core-js from 3.4.8 to 3.6.3
-
Robert Knight authored
Bump @sentry/browser from 5.10.2 to 5.11.0
-
- 13 Jan, 2020 7 commits
-
-
Lyza Danger Gardner authored
Move initialization for new (unsaved) annotations from the (legacy) annotation component’s controller into the `annotations` store module.
-
Robert Knight authored
-
Robert Knight authored
Bump preact from 10.1.1 to 10.2.1
-
Robert Knight authored
Bump sass from 1.24.2 to 1.24.4
-
Robert Knight authored
Convert src/sidebar/components to ES modules
-
Robert Knight authored
This mocking broke after the ES module conversion. Since the mocked module just exports a set of constants, we can just avoid mocking it.
-
Robert Knight authored
Export `updateModel` as a separate export rather than a property of the default export, since this is how the test expects to import it.
-