Parcourir la source

Adds a class comment to AMDExporter

Nicolas Petton il y a 10 ans
Parent
commit
383df250d5
2 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 1 0
      js/Importer-Exporter.js
  2. 2 0
      st/Importer-Exporter.st

+ 1 - 0
js/Importer-Exporter.js

@@ -946,6 +946,7 @@ smalltalk.Exporter);
 
 
 smalltalk.addClass('AmdExporter', smalltalk.Exporter, [], 'Importer-Exporter');
+smalltalk.AmdExporter.comment="I am used to export Packages in an AMD (Asynchronous Module Definition) JavaScript format.";
 smalltalk.addMethod(
 smalltalk.method({
 selector: "amdNamesOfPackages:",

+ 2 - 0
st/Importer-Exporter.st

@@ -444,6 +444,8 @@ exportPackage: aPackage on: aStream
 Exporter subclass: #AmdExporter
 	instanceVariableNames: ''
 	package: 'Importer-Exporter'!
+!AmdExporter commentStamp!
+I am used to export Packages in an AMD (Asynchronous Module Definition) JavaScript format.!
 
 !AmdExporter methodsFor: 'output'!