Browse Source

defaultAMDNamespace -> defaultAmdNamespace

Herbert Vojčík 4 years ago
parent
commit
502c9372fb
8 changed files with 17 additions and 17 deletions
  1. 6 6
      bin/amber-cli.js
  2. 1 1
      cli/index.html
  3. 1 1
      helios.html
  4. 1 1
      index.html
  5. 4 4
      js/Kernel-Infrastructure.js
  6. 2 2
      st/Kernel-Infrastructure.st
  7. 1 1
      support/boot.js
  8. 1 1
      support/smalltalk.js

+ 6 - 6
bin/amber-cli.js

@@ -1336,7 +1336,7 @@ function AMDBrik(brikz, st) {
1336 1336
 	this.__init__ = function () {
1337 1337
 		st.amdRequire = st.amdRequire || null;
1338 1338
 		st.defaultTransportType = st.defaultTransportType || "amd";
1339
-		st.defaultAMDNamespace = st.defaultAMDNamespace || "amber_core";
1339
+		st.defaultAmdNamespace = st.defaultAmdNamespace || "amber_core";
1340 1340
 	};
1341 1341
 }
1342 1342
 
@@ -1377,7 +1377,7 @@ define("amber_vm/smalltalk", ["require", "module", "./boot"], function (require,
1377 1377
 	smalltalk.amdRequire = require;
1378 1378
 //    var config = module.config && module.config();
1379 1379
 //    if (config) {
1380
-//		smalltalk.defaultAMDNamespace = config.defaultNamespace;
1380
+//		smalltalk.defaultAmdNamespace = config.defaultNamespace;
1381 1381
 //    }
1382 1382
     return  smalltalk;
1383 1383
 });
@@ -17037,11 +17037,11 @@ fn: function (){
17037 17037
 var self=this;
17038 17038
 return smalltalk.withContext(function($ctx1) { 
17039 17039
 var $1;
17040
-$1=self._at_("defaultAMDNamespace");
17040
+$1=self._at_("defaultAmdNamespace");
17041 17041
 return $1;
17042 17042
 }, function($ctx1) {$ctx1.fill(self,"defaultAmdNamespace",{},smalltalk.Smalltalk)})},
17043 17043
 args: [],
17044
-source: "defaultAmdNamespace\x0a\x09^ self at: 'defaultAMDNamespace'",
17044
+source: "defaultAmdNamespace\x0a\x09^ self at: 'defaultAmdNamespace'",
17045 17045
 messageSends: ["at:"],
17046 17046
 referencedClasses: []
17047 17047
 }),
@@ -17054,10 +17054,10 @@ category: 'accessing amd',
17054 17054
 fn: function (aString){
17055 17055
 var self=this;
17056 17056
 return smalltalk.withContext(function($ctx1) { 
17057
-self._at_put_("defaultAMDNamespace",aString);
17057
+self._at_put_("defaultAmdNamespace",aString);
17058 17058
 return self}, function($ctx1) {$ctx1.fill(self,"defaultAmdNamespace:",{aString:aString},smalltalk.Smalltalk)})},
17059 17059
 args: ["aString"],
17060
-source: "defaultAmdNamespace: aString\x0a\x09self at: 'defaultAMDNamespace' put: aString",
17060
+source: "defaultAmdNamespace: aString\x0a\x09self at: 'defaultAmdNamespace' put: aString",
17061 17061
 messageSends: ["at:put:"],
17062 17062
 referencedClasses: []
17063 17063
 }),

+ 1 - 1
cli/index.html

@@ -22,7 +22,7 @@
22 22
         ["amber/devel",
23 23
             "amber_cli/AmberCli" ],
24 24
         function (smalltalk) {
25
-            smalltalk.defaultAMDNamespace = 'amber_cli';
25
+            smalltalk.defaultAmdNamespace = 'amber_cli';
26 26
             smalltalk.initialize();
27 27
             smalltalk.Browser._openOn_(smalltalk.AmberCli);
28 28
         }

+ 1 - 1
helios.html

@@ -20,7 +20,7 @@
20 20
                           return 'Do you want to close Amber? All uncommitted changes will be lost.';
21 21
                       };
22 22
 
23
-                      smalltalk.defaultAMDNamespace = "amber_core";
23
+                      smalltalk.defaultAmdNamespace = "amber_core";
24 24
                       smalltalk.initialize();
25 25
                   }
26 26
           );

+ 1 - 1
index.html

@@ -14,7 +14,7 @@
14 14
     require(
15 15
         ["amber/devel"],
16 16
         function (smalltalk) {
17
-            smalltalk.defaultAMDNamespace = "amber_core";
17
+            smalltalk.defaultAmdNamespace = "amber_core";
18 18
             smalltalk.initialize();
19 19
 
20 20
             smalltalk.Browser._open()

+ 4 - 4
js/Kernel-Infrastructure.js

@@ -2027,11 +2027,11 @@ fn: function (){
2027 2027
 var self=this;
2028 2028
 return smalltalk.withContext(function($ctx1) { 
2029 2029
 var $1;
2030
-$1=self._at_("defaultAMDNamespace");
2030
+$1=self._at_("defaultAmdNamespace");
2031 2031
 return $1;
2032 2032
 }, function($ctx1) {$ctx1.fill(self,"defaultAmdNamespace",{},smalltalk.Smalltalk)})},
2033 2033
 args: [],
2034
-source: "defaultAmdNamespace\x0a\x09^ self at: 'defaultAMDNamespace'",
2034
+source: "defaultAmdNamespace\x0a\x09^ self at: 'defaultAmdNamespace'",
2035 2035
 messageSends: ["at:"],
2036 2036
 referencedClasses: []
2037 2037
 }),
@@ -2044,10 +2044,10 @@ category: 'accessing amd',
2044 2044
 fn: function (aString){
2045 2045
 var self=this;
2046 2046
 return smalltalk.withContext(function($ctx1) { 
2047
-self._at_put_("defaultAMDNamespace",aString);
2047
+self._at_put_("defaultAmdNamespace",aString);
2048 2048
 return self}, function($ctx1) {$ctx1.fill(self,"defaultAmdNamespace:",{aString:aString},smalltalk.Smalltalk)})},
2049 2049
 args: ["aString"],
2050
-source: "defaultAmdNamespace: aString\x0a\x09self at: 'defaultAMDNamespace' put: aString",
2050
+source: "defaultAmdNamespace: aString\x0a\x09self at: 'defaultAmdNamespace' put: aString",
2051 2051
 messageSends: ["at:put:"],
2052 2052
 referencedClasses: []
2053 2053
 }),

+ 2 - 2
st/Kernel-Infrastructure.st

@@ -800,11 +800,11 @@ amdRequire
800 800
 !
801 801
 
802 802
 defaultAmdNamespace
803
-	^ self at: 'defaultAMDNamespace'
803
+	^ self at: 'defaultAmdNamespace'
804 804
 !
805 805
 
806 806
 defaultAmdNamespace: aString
807
-	self at: 'defaultAMDNamespace' put: aString
807
+	self at: 'defaultAmdNamespace' put: aString
808 808
 ! !
809 809
 
810 810
 !Smalltalk methodsFor: 'classes'!

+ 1 - 1
support/boot.js

@@ -1057,7 +1057,7 @@ function AMDBrik(brikz, st) {
1057 1057
 	this.__init__ = function () {
1058 1058
 		st.amdRequire = st.amdRequire || null;
1059 1059
 		st.defaultTransportType = st.defaultTransportType || "amd";
1060
-		st.defaultAMDNamespace = st.defaultAMDNamespace || "amber_core";
1060
+		st.defaultAmdNamespace = st.defaultAmdNamespace || "amber_core";
1061 1061
 	};
1062 1062
 }
1063 1063
 

+ 1 - 1
support/smalltalk.js

@@ -3,7 +3,7 @@ define("amber_vm/smalltalk", ["require", "module", "./boot"], function (require,
3 3
 	smalltalk.amdRequire = require;
4 4
 //    var config = module.config && module.config();
5 5
 //    if (config) {
6
-//		smalltalk.defaultAMDNamespace = config.defaultNamespace;
6
+//		smalltalk.defaultAmdNamespace = config.defaultNamespace;
7 7
 //    }
8 8
     return  smalltalk;
9 9
 });