window.ts 711 B

1234567891011121314151617
  1. export function resetMeta() {
  2. window.metaAttributesCache = new Map()
  3. window.metaAttributesCache.set('ol-i18n', { currentLangCode: 'en' })
  4. window.metaAttributesCache.set('ol-ExposedSettings', {
  5. appName: 'Overleaf',
  6. validRootDocExtensions: ['tex', 'Rtex', 'ltx', 'Rnw'],
  7. fileIgnorePattern:
  8. '**/{{__MACOSX,.git,.texpadtmp,.R}{,/**},.!(latexmkrc),*.{dvi,aux,log,toc,out,pdfsync,synctex,synctex(busy),fdb_latexmk,fls,nlo,ind,glo,gls,glg,bbl,blg,doc,docx,gz,swp}}',
  9. hasLinkedProjectFileFeature: true,
  10. hasLinkedProjectOutputFileFeature: true,
  11. hasLinkUrlFeature: true,
  12. enablePandocConversions: true,
  13. })
  14. }
  15. // Populate meta for top-level access in modules on import
  16. resetMeta()