From a8c1cd27ec47a79a0c566f9437abaff6bf248884 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Thu, 16 Jun 2016 14:26:14 -0400 Subject: [PATCH] remove obsolete debugging code --- editor.coffee | 7 ------- 1 file changed, 7 deletions(-) diff --git a/editor.coffee b/editor.coffee index 47adbd8..2bb3d99 100644 --- a/editor.coffee +++ b/editor.coffee @@ -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) -> -- 1.7.10.4