mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
get rid of console.logs
This commit is contained in:
parent
21d78b3c3e
commit
31585463ed
|
@ -730,7 +730,6 @@ es.DocumentModel.prototype.getAnnotationsFromRange = function( range ) {
|
|||
}
|
||||
annotations.all.push( map[hash][0] );
|
||||
}
|
||||
console.log(annotations);
|
||||
return annotations;
|
||||
};
|
||||
|
||||
|
@ -787,7 +786,6 @@ es.DocumentModel.prototype.getWordBoundaries = function( offset ) {
|
|||
* @param {Integer} Offset a given distance from the given offset
|
||||
*/
|
||||
es.DocumentModel.prototype.getRelativeContentOffset = function( offset, distance ) {
|
||||
//console.log(offset);
|
||||
if ( distance === 0 ) {
|
||||
return offset;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue