Convert components to ES6 exports
This commit is contained in:
parent
c44a6e296e
commit
8e754765e2
3 changed files with 11 additions and 6 deletions
|
@ -18,8 +18,7 @@ function pollForUpdates() {
|
|||
}
|
||||
}
|
||||
|
||||
module.exports = {};
|
||||
module.exports.start = function startAutoUpdate(updateBaseUrl) {
|
||||
export function start(updateBaseUrl) {
|
||||
if (updateBaseUrl.slice(-1) !== '/') {
|
||||
updateBaseUrl = updateBaseUrl + '/';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue