Parcourir la source

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

Herbert Vojčík il y a 11 ans
Parent
commit
7e43f4a017

+ 1 - 1
index.html

@@ -6,7 +6,7 @@
     <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
     <meta name="author" content="Nicolas Petton"/>
     <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>
 
 <body>

+ 32 - 32
support/amber4browser.js

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