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

Fix broken imports

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