فهرست منبع

Merge pull request #18349 from jespertheend/dev

Editor: expose editor to window
Mr.doob 5 سال پیش
والد
کامیت
3c5724b2d9
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      editor/index.html

+ 1 - 0
editor/index.html

@@ -67,6 +67,7 @@
 			//
 
 			var editor = new Editor();
+			window.editor = editor;
 
 			var viewport = new Viewport( editor );
 			document.body.appendChild( viewport.dom );