Browse Source

editor: expose editor and THREE to window (#18324)

Jesper van den Ende 5 years ago
parent
commit
c9bf909a05
1 changed files with 3 additions and 0 deletions
  1. 3 0
      editor/index.html

+ 3 - 0
editor/index.html

@@ -222,6 +222,9 @@
 
 			}
 
+			window.editor = editor;
+			window.THREE = THREE;
+
 			/*
 			window.addEventListener( 'message', function ( event ) {