window.ts 676 B

12345678910111213141516
  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. })
  13. }
  14. // Populate meta for top-level access in modules on import
  15. resetMeta()