Explorar o código

merged with Petton's

Bernat Romagosa %!s(int64=13) %!d(string=hai) anos
pai
achega
fef7a00e24
Modificáronse 1 ficheiros con 17 adicións e 0 borrados
  1. 17 0
      st/Demo.st

+ 17 - 0
st/Demo.st

@@ -0,0 +1,17 @@
+Smalltalk current createPackage: 'Demo' properties: #{}!
+Widget subclass: #HelloWorld
+	instanceVariableNames: ''
+	category: 'Demo'!
+
+!HelloWorld methodsFor: 'not yet classified'!
+
+renderOn: html
+	html h1: 'hello world!!'
+! !
+
+!HelloWorld class methodsFor: 'not yet classified'!
+
+initialize
+	^ self new appendToJQuery: 'body' asJQuery
+! !
+