Преглед изворни кода

Adds back Package >> commit

Nicolas Petton пре 11 година
родитељ
комит
beb107e922
2 измењених фајлова са 24 додато и 0 уклоњено
  1. 18 0
      js/Kernel-ImportExport.js
  2. 6 0
      st/Kernel-ImportExport.st

+ 18 - 0
js/Kernel-ImportExport.js

@@ -2256,4 +2256,22 @@ referencedClasses: []
 }),
 smalltalk.AmdPackageTransport.klass);
 
+smalltalk.addMethod(
+smalltalk.method({
+selector: "commit",
+category: '*Kernel-ImportExport',
+fn: function (){
+var self=this;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
+$1=_st(self._transport())._commit();
+return $1;
+}, function($ctx1) {$ctx1.fill(self,"commit",{},smalltalk.Package)})},
+args: [],
+source: "commit\x0a\x09^ self transport commit",
+messageSends: ["commit", "transport"],
+referencedClasses: []
+}),
+smalltalk.Package);
+
 });

+ 6 - 0
st/Kernel-ImportExport.st

@@ -827,3 +827,9 @@ namespace: aString
 		yourself
 ! !
 
+!Package methodsFor: '*Kernel-ImportExport'!
+
+commit
+	^ self transport commit
+! !
+