Index: trunk/extensions/VisualEditor/modules/ve/ce/ve.es.Surface.js |
— | — | @@ -53,8 +53,6 @@ |
54 | 54 | |
55 | 55 | var index = 1 + _this.documentView.getOffsetFromNode( $node.data('view') ); |
56 | 56 | |
57 | | - console.log(index); |
58 | | - |
59 | 57 | while ( stack.length > 0 ) { |
60 | 58 | if ( current[1] >= current[0].length ) { |
61 | 59 | stack.pop(); |
— | — | @@ -85,11 +83,7 @@ |
86 | 84 | } |
87 | 85 | current[1]++; |
88 | 86 | } |
89 | | - |
90 | | - console.log(node); |
91 | | - console.log(localOffset); |
92 | 87 | |
93 | | - |
94 | 88 | setTimeout(function() { |
95 | 89 | var sel = rangy.getSelection(); |
96 | 90 | var range1 = sel.getRangeAt(0); |