Browse Source

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

Helios is popupping itself, client only checks for its presence.
Nicolas Petton 10 years ago
parent
commit
f825ee9de6
1 changed files with 10 additions and 0 deletions
  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');
+        }
+    };
+});