Browse Source

using amber_helios/html to locate helios.html

amber_html was strange namespace anyway
Herbert Vojčík 10 years ago
parent
commit
7f9a621b4a
2 changed files with 2 additions and 2 deletions
  1. 1 1
      support/amber.js
  2. 1 1
      support/helpers.js

+ 1 - 1
support/amber.js

@@ -53,7 +53,7 @@ require = function (require) {
             'amber_inc': amber_home + '/support',
             'amber_core': amber_home + '/js',
             'amber_core/_source': amber_home + '/st',
-            'amber_html': amber_home,
+            'amber_helios/html': amber_home,
             'jquery': library_home + '/jquery/jquery.min',
             'jquery-ui': library_home + '/jquery-ui/ui/minified/jquery-ui.min'
         },

+ 1 - 1
support/helpers.js

@@ -1,7 +1,7 @@
 define("amber/helpers", ["amber_vm/smalltalk", "require"], function (smalltalk, require) {
     var exports = {
         popupHelios: function () {
-            window.open(require.toUrl('amber_html/helios.html'), "Helios", "menubar=no, status=no, scrollbars=no, menubar=no, width=1000, height=600");
+            window.open(require.toUrl('amber_helios/html/helios.html'), "Helios", "menubar=no, status=no, scrollbars=no, menubar=no, width=1000, height=600");
         }
     };
     Object.defineProperty(exports, "smalltalk", {