From 8d6003dcc5b5b5c29a93ed773937ac7b4a39f7e1 Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Mon, 11 Apr 2016 09:58:37 +0100 Subject: [PATCH] Add commentary --- .../directives/aceEditor/auto-complete/SuggestionManager.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/web/public/coffee/ide/editor/directives/aceEditor/auto-complete/SuggestionManager.coffee b/services/web/public/coffee/ide/editor/directives/aceEditor/auto-complete/SuggestionManager.coffee index 914f43ee6b..3e5066d5d8 100644 --- a/services/web/public/coffee/ide/editor/directives/aceEditor/auto-complete/SuggestionManager.coffee +++ b/services/web/public/coffee/ide/editor/directives/aceEditor/auto-complete/SuggestionManager.coffee @@ -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