Index: trunk/parsers/wikidom/lib/es/es.ParagraphBlock.js |
— | — | @@ -97,7 +97,7 @@ |
98 | 98 | * @param offset {Integer} Offset to find word nearest to |
99 | 99 | * @return {Object} Range object of boundaries |
100 | 100 | */ |
101 | | -es.Block.prototype.getWordBoundaries = function( offset ) { |
| 101 | +es.ParagraphBlock.prototype.getWordBoundaries = function( offset ) { |
102 | 102 | return this.content.getWordBoundaries( offset ); |
103 | 103 | }; |
104 | 104 | |
— | — | @@ -109,7 +109,7 @@ |
110 | 110 | * @param offset {Integer} Offset to find section nearest to |
111 | 111 | * @return {Object} Range object of boundaries |
112 | 112 | */ |
113 | | -es.Block.prototype.getSectionBoundaries = function( offset ) { |
| 113 | +es.ParagraphBlock.prototype.getSectionBoundaries = function( offset ) { |
114 | 114 | return new es.Range( 0, this.content.getLength() ); |
115 | 115 | }; |
116 | 116 | |