Convert components to ES6 exports

This commit is contained in:
Travis Ralston 2019-12-19 18:47:11 -07:00
parent c44a6e296e
commit 8e754765e2
3 changed files with 11 additions and 6 deletions

View file

@ -18,8 +18,7 @@ function pollForUpdates() {
}
}
module.exports = {};
module.exports.start = function startAutoUpdate(updateBaseUrl) {
export function start(updateBaseUrl) {
if (updateBaseUrl.slice(-1) !== '/') {
updateBaseUrl = updateBaseUrl + '/';
}