Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

Commit

Permalink
refactor(classes): use named export for VTransmitFile
Browse files Browse the repository at this point in the history
BREAKING CHANGE: switch to named export of VTransmitFile class
  • Loading branch information
alexsasharegan committed Jan 11, 2018
1 parent f49e12c commit 78004dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/classes/VTransmitFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface ISpeedStats {
mbps: number
}

class VTransmitFile {
export class VTransmitFile {
private _nativeFile: File = null
id: string = VTransmitFile.idFactory()
accepted: boolean = undefined // Passed all validation.
Expand Down Expand Up @@ -133,5 +133,3 @@ class VTransmitFile {
return uniqueId("v-transmit-file-")
}
}

export default VTransmitFile
2 changes: 1 addition & 1 deletion src/components/VueTransmit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ import {
webkitIsFile,
webkitIsDir,
} from "../core/utils"
import VTransmitFile from "../classes/VTransmitFile"
import { VTransmitFile } from "../classes/VTransmitFile"
type FileSystemEntry = WebKitFileEntry | WebKitDirectoryEntry
Expand Down

0 comments on commit 78004dc

Please sign in to comment.