Parcourir la source

Editor: Support .json files too.

Mr.doob il y a 12 ans
Parent
commit
0549f7ea6d
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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 ) {