Index: trunk/parsers/wikidom/lib/es/es.ListBlock.js |
— | — | @@ -208,7 +208,7 @@ |
209 | 209 | var locationStart = this.getLocationFromOffset( range.start ), |
210 | 210 | locationEnd = this.getLocationFromOffset( range.end ); |
211 | 211 | |
212 | | - if ( locationStart.item == locationEnd.item ) { |
| 212 | + if ( locationStart.item === locationEnd.item ) { |
213 | 213 | // delete content within one item |
214 | 214 | locationStart.item.content.remove( |
215 | 215 | new es.Range( locationStart.offset, locationStart.offset + range.getLength() ) |
— | — | @@ -268,7 +268,7 @@ |
269 | 269 | var locationStart = this.getLocationFromOffset( range.start ), |
270 | 270 | locationEnd = this.getLocationFromOffset( range.end ); |
271 | 271 | |
272 | | - if ( locationStart.item == locationEnd.item ) { |
| 272 | + if ( locationStart.item === locationEnd.item ) { |
273 | 273 | // annotate content within one item |
274 | 274 | locationStart.item.content.annotate( |
275 | 275 | method, |