Code clean

- Imports/exports always at top
- Sapper template not needing a div to execute
- NPM packages updates: @rollup/plugin-commonjs 11.1.0 has a bug about import/exports
This commit is contained in:
2020-04-12 11:54:08 +02:00
parent 7180419fb0
commit e27e8a16db
20 changed files with 180 additions and 175 deletions

View File

@@ -1,11 +1,11 @@
<script>
import { createEventDispatcher } from 'svelte'
const dispatch = createEventDispatcher()
// Props
export let className = ''
export let photos
export let currentIndex
const dispatch = createEventDispatcher()
</script>
<ol class={className}>