src/js/masha.js
function(numclasses) {
            for (var i = numclasses.length; i--;) {
                var numclass = numclasses[i];
                var spans = byClassName(this.selectable, numclass);
                var closewrap = firstWithClass(spans[spans.length - 1], 'closewrap');
                closewrap.parentNode.removeChild(closewrap);

                this.removeTextSelection(spans);
                delete this.ranges[numclass];
            }
        }
function(numclasses) {
            for (var i = numclasses.length; i--;) {
                var numclass = numclasses[i];
                var spans = byClassName(this.selectable, numclass);
                var closewrap = firstWithClass(spans[spans.length - 1], 'closewrap');
                closewrap.parentNode.removeChild(closewrap);

                this.removeTextSelection(spans);
                delete this.ranges[numclass];
            }
        }
function ( numclasses ) { for ( var i = numclasses . length ; i -- ; ) { var numclass = numclasses [ i ] ; var spans = byClassName ( this . selectable , numclass ) ; var closewrap = firstWithClass ( spans [ spans . length - 1 ] , 'closewrap' ) ; closewrap . parentNode . removeChild ( closewrap ) ; this . removeTextSelection ( spans ) ; delete this . ranges [ numclass ] ; } }
XXX sort methods logically
XXX sort methods logically