var screenshare = require('../');
var media = require('rtc-media');
var config = require('rtc-captureconfig');

media(config('share:window'))
  .on('capture', function(stream) {
    console.log('captured stream: ', stream);
  })
  .render(document.body);

@@ -1,38 +1,4 @@
-var screenshare = require('../');%0A
 var 
@@ -104,98 +104,8 @@
 w'))
-%0A  .on('capture', function(stream) %7B%0A    console.log('captured stream: ', stream);%0A  %7D)%0A  
 .ren

Fix example