Browse Source

requirejs in its own dir, css addon moved there as well

Herbert Vojčík 11 years ago
parent
commit
7e43f4a017

+ 1 - 1
index.html

@@ -6,7 +6,7 @@
     <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
     <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
     <meta name="author" content="Nicolas Petton"/>
     <meta name="author" content="Nicolas Petton"/>
     <script type='text/javascript' src='support/amber4browser.js'></script>
     <script type='text/javascript' src='support/amber4browser.js'></script>
-    <script type='text/javascript' src='support/require.min.js'></script>
+    <script type='text/javascript' src='support/requirejs/require.min.js'></script>
 </head>
 </head>
 
 
 <body>
 <body>

+ 32 - 32
support/amber4browser.js

@@ -25,7 +25,7 @@ require = function (require) {
         },
         },
         map: {
         map: {
             '*': {
             '*': {
-                'css': 'require-css-0.0.6/css'
+                'css': 'requirejs/require-css-0.0.6/css'
             }
             }
         },
         },
         shim: {
         shim: {
@@ -36,10 +36,10 @@ require = function (require) {
                 deps: [ 'jquery', 'jquery-ui' ]
                 deps: [ 'jquery', 'jquery-ui' ]
             },
             },
             'CodeMirror/smalltalk': {
             'CodeMirror/smalltalk': {
-                deps: [ 'CodeMirror/codemirror' ]
+                deps: [ './codemirror' ]
             },
             },
             'CodeMirror/addon/hint/show-hint': {
             'CodeMirror/addon/hint/show-hint': {
-                deps: [ 'CodeMirror/codemirror' ]
+                deps: [ '../../codemirror' ]
             },
             },
             'ensure-console': {
             'ensure-console': {
                 exports: 'console'
                 exports: 'console'
@@ -48,97 +48,97 @@ require = function (require) {
                 deps: []
                 deps: []
             },
             },
             'amber/Kernel-Classes.deploy': {
             'amber/Kernel-Classes.deploy': {
-                deps: [ 'amber/Kernel-Objects.deploy' ]
+                deps: [ './Kernel-Objects.deploy' ]
             },
             },
             'amber/Kernel-Methods.deploy': {
             'amber/Kernel-Methods.deploy': {
-                deps: [ 'amber/Kernel-Objects.deploy' ]
+                deps: [ './Kernel-Objects.deploy' ]
             },
             },
             'amber/Kernel-Collections.deploy': {
             'amber/Kernel-Collections.deploy': {
-                deps: [ 'amber/Kernel-Objects.deploy' ]
+                deps: [ './Kernel-Objects.deploy' ]
             },
             },
             'amber/Kernel-Exceptions.deploy': {
             'amber/Kernel-Exceptions.deploy': {
-                deps: [ 'amber/Kernel-Objects.deploy' ]
+                deps: [ './Kernel-Objects.deploy' ]
             },
             },
             'amber/Kernel-Transcript.deploy': {
             'amber/Kernel-Transcript.deploy': {
-                deps: [ 'amber/Kernel-Objects.deploy' ]
+                deps: [ './Kernel-Objects.deploy' ]
             },
             },
             'amber/Kernel-Announcements.deploy': {
             'amber/Kernel-Announcements.deploy': {
-                deps: [ 'amber/Kernel-Objects.deploy' ]
+                deps: [ './Kernel-Objects.deploy' ]
             },
             },
             'amber/Canvas.deploy': {
             'amber/Canvas.deploy': {
-                deps: [ 'amber/Kernel-Objects.deploy' ]
+                deps: [ './Kernel-Objects.deploy' ]
             },
             },
              'amber/Kernel-Objects': {
              'amber/Kernel-Objects': {
                 deps: []
                 deps: []
             },
             },
             'amber/Kernel-Classes': {
             'amber/Kernel-Classes': {
-                deps: [ 'amber/Kernel-Objects' ]
+                deps: [ './Kernel-Objects' ]
             },
             },
             'amber/Kernel-Methods': {
             'amber/Kernel-Methods': {
-                deps: [ 'amber/Kernel-Objects' ]
+                deps: [ './Kernel-Objects' ]
             },
             },
             'amber/Kernel-Collections': {
             'amber/Kernel-Collections': {
-                deps: [ 'amber/Kernel-Objects' ]
+                deps: [ './Kernel-Objects' ]
             },
             },
             'amber/Kernel-Exceptions': {
             'amber/Kernel-Exceptions': {
-                deps: [ 'amber/Kernel-Objects' ]
+                deps: [ './Kernel-Objects' ]
             },
             },
             'amber/Kernel-Transcript': {
             'amber/Kernel-Transcript': {
-                deps: [ 'amber/Kernel-Objects' ]
+                deps: [ './Kernel-Objects' ]
             },
             },
             'amber/Kernel-Announcements': {
             'amber/Kernel-Announcements': {
-                deps: [ 'amber/Kernel-Objects' ]
+                deps: [ './Kernel-Objects' ]
             },
             },
             'amber/Canvas': {
             'amber/Canvas': {
-                deps: [ 'amber/Kernel-Objects' ]
+                deps: [ './Kernel-Objects' ]
             },
             },
             'amber/SUnit': {
             'amber/SUnit': {
-                deps: [ 'amber/Kernel-Objects' ]
+                deps: [ './Kernel-Objects' ]
             },
             },
             'amber/Importer-Exporter': {
             'amber/Importer-Exporter': {
-                deps: [ 'amber/Kernel-Objects' ]
+                deps: [ './Kernel-Objects' ]
             },
             },
             'amber/Compiler-Exceptions': {
             'amber/Compiler-Exceptions': {
-                deps: [ 'amber/Kernel-Exceptions' ]
+                deps: [ './Kernel-Exceptions' ]
             },
             },
             'amber/Compiler-Core': {
             'amber/Compiler-Core': {
-                deps: [ 'amber/Kernel-Objects' ]
+                deps: [ './Kernel-Objects' ]
             },
             },
             'amber/Compiler-AST': {
             'amber/Compiler-AST': {
-                deps: [ 'amber/Compiler-Core' ]
+                deps: [ './Compiler-Core' ]
             },
             },
             'amber/Compiler-Semantic': {
             'amber/Compiler-Semantic': {
-                deps: [ 'amber/Compiler-Core' ]
+                deps: [ './Compiler-Core' ]
             },
             },
             'amber/Compiler-IR': {
             'amber/Compiler-IR': {
-                deps: [ 'amber/Compiler-Core' ]
+                deps: [ './Compiler-Core' ]
             },
             },
             'amber/Compiler-Inlining': {
             'amber/Compiler-Inlining': {
-                deps: [ 'amber/Compiler-IR' ]
+                deps: [ './Compiler-IR' ]
             },
             },
             'amber/Compiler-Interpreter': {
             'amber/Compiler-Interpreter': {
-                deps: [ 'amber/Compiler-Core' ]
+                deps: [ './Compiler-Core' ]
             },
             },
             'amber/parser': {
             'amber/parser': {
                 deps: []
                 deps: []
             },
             },
             'amber/IDE': {
             'amber/IDE': {
-                deps: [ 'amber/Canvas', 'amber/Kernel-Exceptions' ]
+                deps: [ './Canvas', './Kernel-Exceptions' ]
             },
             },
             'amber/Examples': {
             'amber/Examples': {
-                deps: [ 'amber/Canvas' ]
+                deps: [ './Canvas' ]
             },
             },
             'amber/Benchfib': {
             'amber/Benchfib': {
-                deps: [ 'amber/Kernel-Objects' ]
+                deps: [ './Kernel-Objects' ]
             },
             },
             'amber/Kernel-Tests': {
             'amber/Kernel-Tests': {
-                deps: [ 'amber/SUnit' ]
+                deps: [ './SUnit' ]
             },
             },
             'amber/Compiler-Tests': {
             'amber/Compiler-Tests': {
-                deps: [ 'amber/SUnit' ]
+                deps: [ './SUnit' ]
             },
             },
             'amber/SUnit-Tests': {
             'amber/SUnit-Tests': {
-                deps: [ 'amber/SUnit' ]
+                deps: [ './SUnit' ]
             }
             }
         }
         }
     };
     };

+ 0 - 0
support/require-css-0.0.6/LICENSE → support/requirejs/require-css-0.0.6/LICENSE


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


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


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


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


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


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


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