Update README.md

This commit is contained in:
Casper Lamboo 2015-07-26 15:38:48 +02:00
parent 4ae00e00fd
commit 13c1333ce8

View File

@ -18,7 +18,7 @@ var slicer = new SLICER.Slicer();
slicer.setGeometry(geometry);
slicer.onfinish = function (gCode) {
document.getElementById('gcode').innerHTML = gCode.replace(/(?:\r\n|\r|\n)/g, '<br />');
document.write(gCode.replace(/(?:\r\n|\r|\n)/g, '<br />'));
};
slicer.slice(settings);
```