mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add commentary
This commit is contained in:
parent
4fd4a0372c
commit
8d6003dcc5
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ define [], () ->
|
|||
constructor: (@doc) ->
|
||||
|
||||
parse: () ->
|
||||
# Safari regex is super slow, freezes browser for minutes on end,
|
||||
# hacky solution: limit iterations
|
||||
limit = null
|
||||
if browserIsSafari()
|
||||
limit = 100
|
||||
|
|
Loading…
Reference in a new issue