1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-04-08 16:32:38 +00:00

Remove stray file

This commit is contained in:
Shane Kilkelly 2017-08-01 09:53:43 +01:00
parent f057f788e3
commit 9a85e42ddb

View file

@ -1,14 +0,0 @@
define [
"base"
], (App) ->
App.factory 'preamble', (ide) ->
Preamble = {
getPreambleText: () ->
text = ide.editorManager.getCurrentDocValue().slice(0, 5000)
preamble = text.match(/([^]*)^\\begin\{document\}/m)[1]
}
return Preamble