fixes for lint errors

added missing packages for lint
removed unecessary babel/polyfill
This commit is contained in:
vitorsemeano 2020-10-19 20:25:58 +01:00
parent 03e659e629
commit a48d466e6a
21 changed files with 26 additions and 31 deletions

View file

@ -11,11 +11,11 @@ export default class PhotoPlayer {
play(options) {
return new Promise(function (resolve, reject) {
import('../../components/slideshow/slideshow').then(({default: Slideshow}) => {
var index = options.startIndex || 0;
const index = options.startIndex || 0;
var apiClient = ServerConnections.currentApiClient();
const apiClient = ServerConnections.currentApiClient();
apiClient.getCurrentUser().then(function(result) {
var newSlideShow = new Slideshow({
const newSlideShow = new Slideshow({
showTitle: false,
cover: false,
items: options.items,