|
@@ -27,7 +27,6 @@ var Code = function () {
|
|
|
temp.innerHTML = _codegen( true );
|
|
|
temp = temp.firstChild.nodeValue;
|
|
|
temp = temp.replace("js/Three.js", "../build/Three.js");
|
|
|
- temp = temp.replace("js/RequestAnimationFrame.js", "../examples/js/RequestAnimationFrame.js");
|
|
|
|
|
|
console.log('test', temp);
|
|
|
|
|
@@ -119,7 +118,7 @@ var Code = function () {
|
|
|
|
|
|
if ( html ) {
|
|
|
|
|
|
- string = '<!doctype html>\n<html>\n\t<body>\n\t\t<script src=\"js/Three.js\"></script>\n\t\t<script src=\"js/RequestAnimationFrame.js\"></script>\n\t\t<script>\n' + ( '\n' + string ).replace( /\n/gi, '\n\t\t\t' ) + '\n\n\t\t</script>\n\t</body>\n</html>';
|
|
|
+ string = '<!doctype html>\n<html>\n\t<body>\n\t\t<script src=\"js/Three.js\"></script>\n\t\t<script>\n' + ( '\n' + string ).replace( /\n/gi, '\n\t\t\t' ) + '\n\n\t\t</script>\n\t</body>\n</html>';
|
|
|
|
|
|
}
|
|
|
|