Explorar el Código

Editor: Support .json files too.

Mr.doob hace 12 años
padre
commit
0549f7ea6d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      editor/index.html

+ 1 - 0
editor/index.html

@@ -224,6 +224,7 @@
 						break;
 
 					case 'js':
+					case 'json':
 
 						var reader = new FileReader();
 						reader.addEventListener( 'load', function ( event ) {