Browse Source

Initial Trapped package

Herbert Vojčík 12 năm trước cách đây
mục cha
commit
268a70606a
4 tập tin đã thay đổi với 14 bổ sung1 xóa
  1. 1 1
      devel.html
  2. 4 0
      js/Trapped.deploy.js
  3. 4 0
      js/Trapped.js
  4. 5 0
      st/Trapped.st

+ 1 - 1
devel.html

@@ -6,7 +6,7 @@
 <body>
 <script type="text/javascript"> 
 	loadAmber({
-		files: [],
+		files: ['Trapped.js'],
 		packageHome: './',
 		ready: function() {
 			smalltalk.Browser._openOn_(smalltalk.Application);

+ 4 - 0
js/Trapped.deploy.js

@@ -0,0 +1,4 @@
+smalltalk.addPackage('Trapped', {});
+smalltalk.addClass('Trapped', smalltalk.Object, [], 'Trapped');
+
+

+ 4 - 0
js/Trapped.js

@@ -0,0 +1,4 @@
+smalltalk.addPackage('Trapped', {});
+smalltalk.addClass('Trapped', smalltalk.Object, [], 'Trapped');
+
+

+ 5 - 0
st/Trapped.st

@@ -0,0 +1,5 @@
+Smalltalk current createPackage: 'Trapped' properties: #{}!
+Object subclass: #Trapped
+	instanceVariableNames: ''
+	package: 'Trapped'!
+