浏览代码

Helios is popupping itself, client only checks for its presence.

Herbert Vojčík 10 年之前
父节点
当前提交
33a1410361
共有 1 个文件被更改,包括 10 次插入0 次删除
  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');
+        }
+    };
+});