Browse Source

GUI RequestAnimationFrame.js is not anymore.

Mr.doob 13 years ago
parent
commit
262d9927b0
1 changed files with 1 additions and 2 deletions
  1. 1 2
      gui/js/Code.js

+ 1 - 2
gui/js/Code.js

@@ -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>';
 
 		}