1
0
Jelajahi Sumber

embracing support/ dir

Herbert Vojčík 11 tahun lalu
induk
melakukan
1905a83bdc

+ 2 - 2
index.html

@@ -5,8 +5,8 @@
     <title>Amber Smalltalk</title>
     <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
     <meta name="author" content="Nicolas Petton"/>
-    <script type='text/javascript' src='js/lib/amber-in-browser.js'></script>
-    <script type='text/javascript' src='js/lib/require.min.js'></script>
+    <script type='text/javascript' src='support/amber4browser.js'></script>
+    <script type='text/javascript' src='support/require.min.js'></script>
 </head>
 
 <body>

+ 0 - 3
js/lib/_st.js

@@ -1,3 +0,0 @@
-define(['amber/boot'], function (boot) {
-    return boot._st;
-});

+ 0 - 3
js/lib/nil.js

@@ -1,3 +0,0 @@
-define(['amber/boot'], function (boot) {
-    return boot.nil;
-});

+ 0 - 3
js/lib/smalltalk.js

@@ -1,3 +0,0 @@
-define(['amber/boot'], function (boot) {
-    return boot.smalltalk;
-});

+ 3 - 0
support/_st.js

@@ -0,0 +1,3 @@
+define(['boot'], function (boot) {
+    return boot._st;
+});

+ 0 - 0
js/lib/amber-core-deploy.js → support/amber-core-deploy.js


+ 1 - 1
js/lib/amber-full-devel.js → support/amber-full-devel.js

@@ -28,7 +28,7 @@ define([
     'amber/Compiler-Inlining',
     'amber/Compiler-Interpreter',
     'amber/Compiler-Tests',
-    'amber/parser',
+    'parser',
     'amber/IDE',
     'amber/Examples',
     'amber/Benchfib',

+ 1 - 1
js/lib/amber-in-browser.js → support/amber4browser.js

@@ -19,7 +19,7 @@ require = function (require) {
     var config = {
         baseUrl: home,
         paths: {
-            'amber': '..',
+            'amber': '../js',
             'jquery': 'jQuery/jquery-1.8.2.min',
             'jquery-ui': 'jQuery/jquery-ui-1.8.16.custom.min'
         },

+ 0 - 0
js/lib/ensure-console.js → support/ensure-console.js


+ 3 - 0
support/nil.js

@@ -0,0 +1,3 @@
+define(['boot'], function (boot) {
+    return boot.nil;
+});

+ 0 - 0
js/lib/require-css-0.0.6/LICENSE → support/require-css-0.0.6/LICENSE


+ 0 - 0
js/lib/require-css-0.0.6/README.md → support/require-css-0.0.6/README.md


+ 0 - 0
js/lib/require-css-0.0.6/bower.json → support/require-css-0.0.6/bower.json


+ 0 - 0
js/lib/require-css-0.0.6/css-builder.js → support/require-css-0.0.6/css-builder.js


+ 0 - 0
js/lib/require-css-0.0.6/css.js → support/require-css-0.0.6/css.js


+ 0 - 0
js/lib/require-css-0.0.6/normalize.js → support/require-css-0.0.6/normalize.js


+ 0 - 0
js/lib/require-css-0.0.6/package.json → support/require-css-0.0.6/package.json


+ 0 - 0
js/lib/require.min.js → support/require.min.js


+ 3 - 0
support/smalltalk.js

@@ -0,0 +1,3 @@
+define(['boot'], function (boot) {
+    return boot.smalltalk;
+});