JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
remove obsolete debugging code
authorJason Woofenden <jason@jasonwoof.com>
Thu, 16 Jun 2016 18:26:14 +0000 (14:26 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Thu, 16 Jun 2016 18:26:14 +0000 (14:26 -0400)
editor.coffee

index 47adbd8..2bb3d99 100644 (file)
@@ -76,13 +76,6 @@ multi_sp_regex = new RegExp '[\u0020\u0009\u000a\u000c\u000d][\u0020\u0009\u000a
 str_has_ws_run = (str) ->
        return multi_sp_regex.test str
 
-debug_dot_at = (doc, x, y) ->
-       return # disabled
-       el = doc.createElement 'div'
-       el.setAttribute 'style', "position: absolute; left: #{x}px; top: #{y}px; width: 1px; height: 3px; background-color: red"
-       doc.body.appendChild el
-       #console.log(new Error().stack)
-
 # text nodes don't have getBoundingClientRect(), so use selection api to find
 # it.
 get_el_bounds = window.bounds = (el) ->