index.js
function callback (start, end, props) {
        if (props === undefined) {
            props = {};
        }
        key = blockKey + KEY_SEPARATOR + decorationId;
        decorated[blockKey][decorationId] = props;
        decorateRange(decorations, start, end, key);
        decorationId++;
    }
function callback (start, end, props) {
        if (props === undefined) {
            props = {};
        }
        key = blockKey + KEY_SEPARATOR + decorationId;
        decorated[blockKey][decorationId] = props;
        decorateRange(decorations, start, end, key);
        decorationId++;
    }
function callback ( start , end , props ) { if ( props === undefined ) { props = { } ; } key = blockKey + KEY_SEPARATOR + decorationId ; decorated [ blockKey ] [ decorationId ] = props ; decorateRange ( decorations , start , end , key ) ; decorationId ++ ; }
Apply a decoration to given range, with given props
Apply a decoration to given range with given props