Commit 08d67723 authored by Ciaran Ainsworth's avatar Ciaran Ainsworth
Browse files

Fix broken imports

parent e9c4bfe9
const DYNAMIC_RANGE = 40 // dB
function toLinearVolumeScale (v) {
export function toLinearVolumeScale (v) {
if (v <= 0.0) {
return 0.0
}
......@@ -11,7 +11,7 @@ function toLinearVolumeScale (v) {
return Math.pow(10, dB / 20)
}
function toLogarithmicVolumeScale (v) {
export function toLogarithmicVolumeScale (v) {
if (v <= 0.0) {
return 0.0
}
......
......@@ -212,7 +212,7 @@
<script>
import { mapState } from 'vuex'
import ThemesMixin from '@/components/mixins/Themes'
import ThemesMixin from '@/components/mixins/Themes.vue'
import _ from '@/lodash'
export default {
......
......@@ -346,7 +346,7 @@ import { mapState, mapGetters, mapActions } from 'vuex'
import $ from 'jquery'
import moment from 'moment'
import lodash from '@/lodash'
import time from '@/utils/time'
import time from '@/utils/time.js'
import { createFocusTrap } from 'focus-trap'
export default {
......
......@@ -162,7 +162,7 @@ import lodash from '@/lodash'
export default {
components: {
SignupFormBuilder: () => import(/* webpackChunkName: "signup-form-builder" */ '@/components/admin/SignupFormBuilder')
SignupFormBuilder: () => import(/* webpackChunkName: "signup-form-builder" */ '@/components/admin/SignupFormBuilder.vue')
},
props: {
group: { type: Object, required: true },
......
......@@ -163,7 +163,7 @@
<script>
import lodash from '@/lodash'
import SignupForm from '@/components/auth/SignupForm'
import SignupForm from '@/components/auth/SignupForm.vue'
function arrayMove (arr, oldIndex, newIndex) {
if (newIndex >= arr.length) {
......
......@@ -75,8 +75,8 @@
</template>
<script>
import PlayButton from '@/components/audio/PlayButton'
import TagsList from '@/components/tags/List'
import PlayButton from '@/components/audio/PlayButton.vue'
import TagsList from '@/components/tags/List.vue'
import { momentFormat } from '@/filters'
import moment from 'moment'
......
......@@ -56,8 +56,8 @@
<script>
import _ from '@/lodash'
import axios from 'axios'
import PodcastTable from '@/components/audio/podcast/Table'
import TrackTable from '@/components/audio/track/Table'
import PodcastTable from '@/components/audio/podcast/Table.vue'
import TrackTable from '@/components/audio/track/Table.vue'
export default {
components: {
......
......@@ -77,8 +77,8 @@
</template>
<script>
import PlayButton from '@/components/audio/PlayButton'
import TrackFavoriteIcon from '@/components/favorites/TrackFavoriteIcon'
import PlayButton from '@/components/audio/PlayButton.vue'
import TrackFavoriteIcon from '@/components/favorites/TrackFavoriteIcon.vue'
import { mapGetters } from 'vuex'
export default {
......
......@@ -249,8 +249,8 @@
<script>
import axios from 'axios'
import AttachmentInput from '@/components/common/AttachmentInput'
import TagsSelector from '@/components/library/TagsSelector'
import AttachmentInput from '@/components/common/AttachmentInput.vue'
import TagsSelector from '@/components/library/TagsSelector.vue'
function slugify (text) {
return text.toString().toLowerCase()
......
......@@ -62,7 +62,7 @@
</template>
<script>
import PlayButton from '@/components/audio/PlayButton'
import PlayButton from '@/components/audio/PlayButton.vue'
export default {
components: {
......
......@@ -55,8 +55,8 @@
<script>
import _ from '@/lodash'
import axios from 'axios'
import ChannelSerieCard from '@/components/audio/ChannelSerieCard'
import AlbumCard from '@/components/audio/album/Card'
import ChannelSerieCard from '@/components/audio/ChannelSerieCard.vue'
import AlbumCard from '@/components/audio/album/Card.vue'
export default {
components: {
......
......@@ -39,7 +39,7 @@
<script>
import _ from '@/lodash'
import axios from 'axios'
import ChannelCard from '@/components/audio/ChannelCard'
import ChannelCard from '@/components/audio/ChannelCard.vue'
export default {
components: {
......
......@@ -126,8 +126,8 @@
<script>
import jQuery from 'jquery'
import ReportMixin from '@/components/mixins/Report'
import PlayOptionsMixin from '@/components/mixins/PlayOptions'
import ReportMixin from '@/components/mixins/Report.vue'
import PlayOptionsMixin from '@/components/mixins/PlayOptions.vue'
export default {
mixins: [ReportMixin, PlayOptionsMixin],
......
......@@ -72,8 +72,8 @@
import _ from '@/lodash'
import axios from 'axios'
import logger from '@/logging'
import AlbumCard from '@/components/audio/album/Card'
import ArtistCard from '@/components/audio/artist/Card'
import AlbumCard from '@/components/audio/album/Card.vue'
import ArtistCard from '@/components/audio/artist/Card.vue'
export default {
components: {
......
......@@ -24,7 +24,7 @@
import jQuery from 'jquery'
import router from '@/router'
import lodash from '@/lodash'
import GlobalEvents from '@/components/utils/global-events'
import GlobalEvents from '@/components/utils/global-events.vue'
export default {
components: {
......
......@@ -54,7 +54,7 @@
</template>
<script>
import PlayButton from '@/components/audio/PlayButton'
import PlayButton from '@/components/audio/PlayButton.vue'
export default {
components: {
......
......@@ -61,8 +61,8 @@
</template>
<script>
import PlayButton from '@/components/audio/PlayButton'
import TagsList from '@/components/tags/List'
import PlayButton from '@/components/audio/PlayButton.vue'
import TagsList from '@/components/tags/List.vue'
export default {
components: {
......
......@@ -52,7 +52,7 @@
<script>
import axios from 'axios'
import ArtistCard from '@/components/audio/artist/Card'
import ArtistCard from '@/components/audio/artist/Card.vue'
export default {
components: {
......
......@@ -139,9 +139,9 @@
<script>
import { mapActions, mapGetters } from 'vuex'
import TrackFavoriteIcon from '@/components/favorites/TrackFavoriteIcon'
import TrackModal from '@/components/audio/track/Modal'
import PlayOptionsMixin from '@/components/mixins/PlayOptions'
import TrackFavoriteIcon from '@/components/favorites/TrackFavoriteIcon.vue'
import TrackModal from '@/components/audio/track/Modal.vue'
import PlayOptionsMixin from '@/components/mixins/PlayOptions.vue'
export default {
......
......@@ -226,9 +226,9 @@
</template>
<script>
import Modal from '@/components/semantic/Modal'
import ReportMixin from '@/components/mixins/Report'
import PlayOptionsMixin from '@/components/mixins/PlayOptions'
import Modal from '@/components/semantic/Modal.vue'
import ReportMixin from '@/components/mixins/Report.vue'
import PlayOptionsMixin from '@/components/mixins/PlayOptions.vue'
export default {
components: {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment