Shane Kilkelly 10 lat temu
rodzic
commit
8d6003dcc5

+ 2 - 0
services/web/public/coffee/ide/editor/directives/aceEditor/auto-complete/SuggestionManager.coffee

@@ -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