Bladeren bron

Renamed Package >> transport to #handler

Nicolas Petton 10 jaren geleden
bovenliggende
commit
6934694e0f
3 gewijzigde bestanden met toevoegingen van 24 en 24 verwijderingen
  1. 8 8
      js/Importer-Exporter.deploy.js
  2. 12 12
      js/Importer-Exporter.js
  3. 4 4
      st/Importer-Exporter.st

+ 8 - 8
js/Importer-Exporter.deploy.js

@@ -1607,10 +1607,10 @@ fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
 var $1;
-$1=_st(self._transport())._commit_(self);
+$1=_st(self._handler())._commit_(self);
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"commit",{},smalltalk.Package)})},
-messageSends: ["commit:", "transport"]}),
+messageSends: ["commit:", "handler"]}),
 smalltalk.Package);
 
 smalltalk.addMethod(
@@ -1629,11 +1629,11 @@ $2=$3;
 };
 $1=_st($2)._at_ifAbsent_("commitPathJs",(function(){
 return smalltalk.withContext(function($ctx2) {
-return _st(self._transport())._commitPathJsFor_(self);
+return _st(self._handler())._commitPathJsFor_(self);
 }, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"commitPathJs",{},smalltalk.Package)})},
-messageSends: ["at:ifAbsent:", "commitPathJsFor:", "transport", "ifNil:"]}),
+messageSends: ["at:ifAbsent:", "commitPathJsFor:", "handler", "ifNil:"]}),
 smalltalk.Package);
 
 smalltalk.addMethod(
@@ -1672,11 +1672,11 @@ $2=$3;
 };
 $1=_st($2)._at_ifAbsent_("commitPathSt",(function(){
 return smalltalk.withContext(function($ctx2) {
-return _st(self._transport())._commitPathStFor_(self);
+return _st(self._handler())._commitPathStFor_(self);
 }, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"commitPathSt",{},smalltalk.Package)})},
-messageSends: ["at:ifAbsent:", "commitPathStFor:", "transport", "ifNil:"]}),
+messageSends: ["at:ifAbsent:", "commitPathStFor:", "handler", "ifNil:"]}),
 smalltalk.Package);
 
 smalltalk.addMethod(
@@ -1701,7 +1701,7 @@ smalltalk.Package);
 
 smalltalk.addMethod(
 smalltalk.method({
-selector: "transport",
+selector: "handler",
 fn: function (){
 var self=this;
 function $PackageHandler(){return smalltalk.PackageHandler||(typeof PackageHandler=="undefined"?nil:PackageHandler)}
@@ -1709,7 +1709,7 @@ return smalltalk.withContext(function($ctx1) {
 var $1;
 $1=_st($PackageHandler())._for_(self._transportType());
 return $1;
-}, function($ctx1) {$ctx1.fill(self,"transport",{},smalltalk.Package)})},
+}, function($ctx1) {$ctx1.fill(self,"handler",{},smalltalk.Package)})},
 messageSends: ["for:", "transportType"]}),
 smalltalk.Package);
 

+ 12 - 12
js/Importer-Exporter.js

@@ -2055,12 +2055,12 @@ fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
 var $1;
-$1=_st(self._transport())._commit_(self);
+$1=_st(self._handler())._commit_(self);
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"commit",{},smalltalk.Package)})},
 args: [],
-source: "commit\x0a\x09^ self transport commit: self",
-messageSends: ["commit:", "transport"],
+source: "commit\x0a\x09^ self handler commit: self",
+messageSends: ["commit:", "handler"],
 referencedClasses: []
 }),
 smalltalk.Package);
@@ -2082,13 +2082,13 @@ $2=$3;
 };
 $1=_st($2)._at_ifAbsent_("commitPathJs",(function(){
 return smalltalk.withContext(function($ctx2) {
-return _st(self._transport())._commitPathJsFor_(self);
+return _st(self._handler())._commitPathJsFor_(self);
 }, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"commitPathJs",{},smalltalk.Package)})},
 args: [],
-source: "commitPathJs\x0a\x09^ (extension ifNil: [ extension := #{} ]) at: #commitPathJs ifAbsent: [self transport commitPathJsFor: self]",
-messageSends: ["at:ifAbsent:", "commitPathJsFor:", "transport", "ifNil:"],
+source: "commitPathJs\x0a\x09^ (extension ifNil: [ extension := #{} ]) at: #commitPathJs ifAbsent: [ self handler commitPathJsFor: self ]",
+messageSends: ["at:ifAbsent:", "commitPathJsFor:", "handler", "ifNil:"],
 referencedClasses: []
 }),
 smalltalk.Package);
@@ -2135,13 +2135,13 @@ $2=$3;
 };
 $1=_st($2)._at_ifAbsent_("commitPathSt",(function(){
 return smalltalk.withContext(function($ctx2) {
-return _st(self._transport())._commitPathStFor_(self);
+return _st(self._handler())._commitPathStFor_(self);
 }, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"commitPathSt",{},smalltalk.Package)})},
 args: [],
-source: "commitPathSt\x0a\x09^ (extension ifNil: [ extension := #{} ]) at: #commitPathSt ifAbsent: [self transport commitPathStFor: self]",
-messageSends: ["at:ifAbsent:", "commitPathStFor:", "transport", "ifNil:"],
+source: "commitPathSt\x0a\x09^ (extension ifNil: [ extension := #{} ]) at: #commitPathSt ifAbsent: [ self handler commitPathStFor: self ]",
+messageSends: ["at:ifAbsent:", "commitPathStFor:", "handler", "ifNil:"],
 referencedClasses: []
 }),
 smalltalk.Package);
@@ -2173,7 +2173,7 @@ smalltalk.Package);
 
 smalltalk.addMethod(
 smalltalk.method({
-selector: "transport",
+selector: "handler",
 category: '*Importer-Exporter',
 fn: function (){
 var self=this;
@@ -2182,9 +2182,9 @@ return smalltalk.withContext(function($ctx1) {
 var $1;
 $1=_st($PackageHandler())._for_(self._transportType());
 return $1;
-}, function($ctx1) {$ctx1.fill(self,"transport",{},smalltalk.Package)})},
+}, function($ctx1) {$ctx1.fill(self,"handler",{},smalltalk.Package)})},
 args: [],
-source: "transport\x0a\x09^ PackageHandler for: self transportType",
+source: "handler\x0a\x09^ PackageHandler for: self transportType",
 messageSends: ["for:", "transportType"],
 referencedClasses: ["PackageHandler"]
 }),

+ 4 - 4
st/Importer-Exporter.st

@@ -910,11 +910,11 @@ amdNamespace: aString
 !
 
 commit
-	^ self transport commit: self
+	^ self handler commit: self
 !
 
 commitPathJs
-	^ (extension ifNil: [ extension := #{} ]) at: #commitPathJs ifAbsent: [self transport commitPathJsFor: self]
+	^ (extension ifNil: [ extension := #{} ]) at: #commitPathJs ifAbsent: [ self handler commitPathJsFor: self ]
 !
 
 commitPathJs: aString
@@ -922,14 +922,14 @@ commitPathJs: aString
 !
 
 commitPathSt
-	^ (extension ifNil: [ extension := #{} ]) at: #commitPathSt ifAbsent: [self transport commitPathStFor: self]
+	^ (extension ifNil: [ extension := #{} ]) at: #commitPathSt ifAbsent: [ self handler commitPathStFor: self ]
 !
 
 commitPathSt: aString
 	^ (extension ifNil: [ extension := #{} ]) at: #commitPathSt put: aString
 !
 
-transport
+handler
 	^ PackageHandler for: self transportType
 !