1
0
Kaynağa Gözat

move IDE, Example, Benchfib and conf into amber-attic

They are not part of the core, they should not be under amber_core.
Moreover, they bring jquery-ui and codemirror as deps,
which amber in itself does not need. Later amber-attic
can have its own repo and these deps can be moved there.
Herbert Vojčík 10 yıl önce
ebeveyn
işleme
0604a2cbaf

+ 0 - 0
codemirror.amd.json → support/attic/codemirror.amd.json


+ 0 - 0
jquery-ui.amd.json → support/attic/jquery-ui.amd.json


+ 18 - 0
support/attic/local.amd.json

@@ -0,0 +1,18 @@
+{
+    "paths": {
+        "amber-attic": "src",
+        "amber-attic/resources": "resources"
+    },
+    "shim": {
+        "amber-attic/IDE": [
+            "codemirror/lib/codemirror",
+            "codemirror/mode/smalltalk/smalltalk",
+            "codemirror/addon/hint/show-hint",
+            "css!codemirror/theme/ambiance",
+            "css!codemirror/lib/codemirror",
+            "css!codemirror/addon/hint/show-hint",
+            "jquery-ui",
+            "css!amber-attic/resources/amber"
+        ]
+    }
+}

+ 0 - 0
support/resources/amber.css → support/attic/resources/amber.css


+ 0 - 0
support/resources/off.amber.png → support/attic/resources/off.amber.png


+ 0 - 0
support/resources/offHover.amber.png → support/attic/resources/offHover.amber.png


+ 0 - 0
support/resources/sprite.amber.png → support/attic/resources/sprite.amber.png


+ 0 - 0
support/resources/tinylogo.amber.png → support/attic/resources/tinylogo.amber.png


+ 2 - 2
src/Benchfib.js → support/attic/src/Benchfib.js

@@ -1,7 +1,7 @@
-define("amber_core/Benchfib", ["amber/boot", "amber_core/Kernel-Objects"], function($boot){
+define("amber-attic/Benchfib", ["amber/boot", "amber_core/Kernel-Objects"], function($boot){
 var $core=$boot.api,nil=$boot.nil,$recv=$boot.asReceiver,$globals=$boot.globals;
 $core.addPackage('Benchfib');
-$core.packages["Benchfib"].transport = {"type":"amd","amdNamespace":"amber_core"};
+$core.packages["Benchfib"].transport = {"type":"amd","amdNamespace":"amber-attic"};
 
 $core.addClass('Benchfib', $globals.Object, [], 'Benchfib');
 

+ 0 - 0
src/Benchfib.st → support/attic/src/Benchfib.st


+ 2 - 2
src/Examples.js → support/attic/src/Examples.js

@@ -1,7 +1,7 @@
-define("amber_core/Examples", ["amber/boot", "amber_core/Web"], function($boot){
+define("amber-attic/Examples", ["amber/boot", "amber_core/Web"], function($boot){
 var $core=$boot.api,nil=$boot.nil,$recv=$boot.asReceiver,$globals=$boot.globals;
 $core.addPackage('Examples');
-$core.packages["Examples"].transport = {"type":"amd","amdNamespace":"amber_core"};
+$core.packages["Examples"].transport = {"type":"amd","amdNamespace":"amber-attic"};
 
 $core.addClass('Counter', $globals.Widget, ['count', 'header'], 'Examples');
 //>>excludeStart("ide", pragmas.excludeIdeData);

+ 0 - 0
src/Examples.st → support/attic/src/Examples.st


+ 2 - 2
src/IDE.js → support/attic/src/IDE.js

@@ -1,7 +1,7 @@
-define("amber_core/IDE", ["amber/boot", "amber_core/Web", "amber_core/Kernel-Objects", "amber_core/Kernel-Collections", "amber_core/Kernel-Methods"], function($boot){
+define("amber-attic/IDE", ["amber/boot", "amber_core/Web", "amber_core/Kernel-Objects", "amber_core/Kernel-Collections", "amber_core/Kernel-Methods"], function($boot){
 var $core=$boot.api,nil=$boot.nil,$recv=$boot.asReceiver,$globals=$boot.globals;
 $core.addPackage('IDE');
-$core.packages["IDE"].transport = {"type":"amd","amdNamespace":"amber_core"};
+$core.packages["IDE"].transport = {"type":"amd","amdNamespace":"amber-attic"};
 
 $core.addClass('ClassesList', $globals.Widget, ['browser', 'ul', 'nodes'], 'IDE');
 $core.addMethod(

+ 0 - 0
src/IDE.st → support/attic/src/IDE.st


+ 3 - 11
support/devel.js

@@ -2,19 +2,11 @@ define([
 	'./helpers', // pre-fetch, dep of ./deploy
 	'./deploy', // pre-fetch, dep of ./lang
 	'./lang',
-    'codemirror/lib/codemirror',
-    'codemirror/mode/smalltalk/smalltalk',
-    'codemirror/addon/hint/show-hint',
-    'css!codemirror/theme/ambiance',
-    'css!codemirror/lib/codemirror',
-    'css!codemirror/addon/hint/show-hint',
-    'jquery-ui',
     'amber_core/SUnit',
     'amber_core/Compiler-Tests',
     'amber_core/Kernel-Tests',
     'amber_core/SUnit-Tests',
-    'amber_core/IDE',
-    'amber_core/Examples',
-    'amber_core/Benchfib',
-	'css!amber/resources/amber'
+	'amber-attic/IDE',
+	'amber-attic/Examples',
+	'amber-attic/Benchfib'
 ], function (amber) { return amber; });