dist/amd.riotx+riot.js
function makeReplaceVirtual(tag, ref) {
      var frag = createFragment();
      makeVirtual.call(tag, frag);
      ref.parentNode.replaceChild(frag, ref);
    }
function makeReplaceVirtual(tag, ref) {
      var frag = createFragment();
      makeVirtual.call(tag, frag);
      ref.parentNode.replaceChild(frag, ref);
    }
function makeReplaceVirtual ( tag , ref ) { var frag = createFragment ( ) ; makeVirtual . call ( tag , frag ) ; ref . parentNode . replaceChild ( frag , ref ) ; }
makes a tag virtual and replaces a reference in the dom
@this Tag
@param { tag } the tag to make virtual
@param { ref } the dom reference location
makes a tag virtual and replaces a reference in the dom