1
0
Просмотр исходного кода

Short doc in amber.js's initial block comment

Herbert Vojčík 11 лет назад
Родитель
Сommit
d590c45c00
1 измененных файлов с 10 добавлено и 3 удалено
  1. 10 3
      support/amber.js

+ 10 - 3
support/amber.js

@@ -1,6 +1,13 @@
-/* Amber package loading
- usage example:
- TODO
+/* Amber package loading.
+  Load this script as well as require.js (works in any order;
+    either defines 'require', thus passing config, if loaded prior require.js;
+    or calls require.config, if loaded post require.js).
+  Usage example:
+    require(['amber/devel'], function(smalltalk) {
+        smallralk.initialize();
+
+        smalltalk.Browser._open();
+    });
  */
 
 var require;