Browse Source

Merge pull request #1011 from herby/helios-popupping-itself

Helios is popupping itself, client only checks for its presence.
Nicolas Petton 10 năm trước cách đây
mục cha
commit
f825ee9de6
1 tập tin đã thay đổi với 10 bổ sung0 xóa
  1. 10 0
      index.js

+ 10 - 0
index.js

@@ -0,0 +1,10 @@
+define(["require"], function (require) {
+    return  {
+        popup: function () {
+            window.open(require.toUrl('./index.html'), "Helios", "menubar=no, width=1000, height=600");
+        },
+        go: function () {
+            window.location.href = require.toUrl('./index.html');
+        }
+    };
+});