reset-meta.ts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. export function resetMeta() {
  2. window.metaAttributesCache = new Map()
  3. window.metaAttributesCache.set('ol-i18n', { currentLangCode: 'en' })
  4. window.metaAttributesCache.set('ol-capabilities', [
  5. 'chat',
  6. 'dropbox',
  7. 'link-sharing',
  8. ])
  9. window.metaAttributesCache.set('ol-ExposedSettings', {
  10. appName: 'Overleaf',
  11. maxEntitiesPerProject: 10,
  12. maxUploadSize: 5 * 1024 * 1024,
  13. siteUrl: 'https://www.dev-overleaf.com',
  14. hasLinkUrlFeature: true,
  15. hasLinkedProjectFileFeature: true,
  16. hasLinkedProjectOutputFileFeature: true,
  17. textExtensions: [
  18. 'tex',
  19. 'latex',
  20. 'sty',
  21. 'cls',
  22. 'bst',
  23. 'bib',
  24. 'bibtex',
  25. 'txt',
  26. 'tikz',
  27. 'mtx',
  28. 'rtex',
  29. 'md',
  30. 'asy',
  31. 'lbx',
  32. 'bbx',
  33. 'cbx',
  34. 'm',
  35. 'lco',
  36. 'dtx',
  37. 'ins',
  38. 'ist',
  39. 'def',
  40. 'clo',
  41. 'ldf',
  42. 'rmd',
  43. 'lua',
  44. 'gv',
  45. 'mf',
  46. 'lhs',
  47. 'mk',
  48. 'xmpdata',
  49. 'cfg',
  50. 'rnw',
  51. 'ltx',
  52. 'inc',
  53. ],
  54. editableFilenames: ['latexmkrc', '.latexmkrc', 'makefile', 'gnumakefile'],
  55. })
  56. }