Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F325901
general_tab.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
general_tab.js
View Options
import
Checkbox
from
'src/components/checkbox/checkbox.vue'
import
InterfaceLanguageSwitcher
from
'src/components/interface_language_switcher/interface_language_switcher.vue'
import
SharedComputedObject
from
'../helpers/shared_computed_object.js'
const
GeneralTab
=
{
data
()
{
return
{
loopSilentAvailable
:
// Firefox
Object
.
getOwnPropertyDescriptor
(
HTMLVideoElement
.
prototype
,
'mozHasAudio'
)
||
// Chrome-likes
Object
.
getOwnPropertyDescriptor
(
HTMLMediaElement
.
prototype
,
'webkitAudioDecodedByteCount'
)
||
// Future spec, still not supported in Nightly 63 as of 08/2018
Object
.
getOwnPropertyDescriptor
(
HTMLMediaElement
.
prototype
,
'audioTracks'
)
}
},
components
:
{
Checkbox
,
InterfaceLanguageSwitcher
},
computed
:
{
postFormats
()
{
return
this
.
$store
.
state
.
instance
.
postFormats
||
[]
},
instanceSpecificPanelPresent
()
{
return
this
.
$store
.
state
.
instance
.
showInstanceSpecificPanel
},
...
SharedComputedObject
()
}
}
export
default
GeneralTab
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 24, 4:27 AM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
96799
Default Alt Text
general_tab.js (1 KB)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment