Add commentary

This commit is contained in:
Shane Kilkelly 2016-04-11 09:58:37 +01:00
parent 4fd4a0372c
commit 8d6003dcc5

View file

@ -13,6 +13,8 @@ define [], () ->
constructor: (@doc) -> constructor: (@doc) ->
parse: () -> parse: () ->
# Safari regex is super slow, freezes browser for minutes on end,
# hacky solution: limit iterations
limit = null limit = null
if browserIsSafari() if browserIsSafari()
limit = 100 limit = 100