src/p5.RendererSVG.js
function(element) {
                if (element === elt) {
                    var wrapper = svgCanvas.getElement();
                    wrapper.parentNode.removeChild(wrapper);
                }
            }
function(element) {
                if (element === elt) {
                    var wrapper = svgCanvas.getElement();
                    wrapper.parentNode.removeChild(wrapper);
                }
            }
function ( element ) { if ( element === elt ) { var wrapper = svgCanvas . getElement ( ) ; wrapper . parentNode . removeChild ( wrapper ) ; } }
fake parentNode.removeChild so that noCanvas will work
fake parentNode . removeChild so that noCanvas will work