Преглед изворни кода

tweak(ui): expose UIAlert to service scripts

KernelDeimos пре 1 година
родитељ
комит
71e2310fa4
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      src/UI/UIAlert.js

+ 3 - 1
src/UI/UIAlert.js

@@ -122,4 +122,6 @@ function UIAlert(options){
     })
 }
 
-export default UIAlert;
+def(UIAlert, 'ui.window.UIAlert');
+
+export default UIAlert;