Parcourir la source

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

Herbert Vojčík il y a 10 ans
Parent
commit
33a1410361
1 fichiers modifiés avec 10 ajouts et 0 suppressions
  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');
+        }
+    };
+});