mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 18:13:40 -05:00
aa480a2663
[web] migrate from window attributes to getMeta GitOrigin-RevId: 3dcf1ab6b01155e5e4abeb3e78d0fa9053e055bc
51 lines
1 KiB
TypeScript
51 lines
1 KiB
TypeScript
export function resetMeta() {
|
|
window.metaAttributesCache = new Map()
|
|
window.metaAttributesCache.set('ol-i18n', { currentLangCode: 'en' })
|
|
window.metaAttributesCache.set('ol-ExposedSettings', {
|
|
appName: 'Overleaf',
|
|
maxEntitiesPerProject: 10,
|
|
maxUploadSize: 5 * 1024 * 1024,
|
|
siteUrl: 'https://www.dev-overleaf.com',
|
|
hasLinkUrlFeature: true,
|
|
hasLinkedProjectFileFeature: true,
|
|
hasLinkedProjectOutputFileFeature: true,
|
|
textExtensions: [
|
|
'tex',
|
|
'latex',
|
|
'sty',
|
|
'cls',
|
|
'bst',
|
|
'bib',
|
|
'bibtex',
|
|
'txt',
|
|
'tikz',
|
|
'mtx',
|
|
'rtex',
|
|
'md',
|
|
'asy',
|
|
'lbx',
|
|
'bbx',
|
|
'cbx',
|
|
'm',
|
|
'lco',
|
|
'dtx',
|
|
'ins',
|
|
'ist',
|
|
'def',
|
|
'clo',
|
|
'ldf',
|
|
'rmd',
|
|
'lua',
|
|
'gv',
|
|
'mf',
|
|
'lhs',
|
|
'mk',
|
|
'xmpdata',
|
|
'cfg',
|
|
'rnw',
|
|
'ltx',
|
|
'inc',
|
|
],
|
|
editableFilenames: ['latexmkrc', '.latexmkrc', 'makefile', 'gnumakefile'],
|
|
})
|
|
}
|