HelloAmber.st 317 B

12345678910111213
  1. Object subclass: #HelloAmber
  2. instanceVariableNames: ''
  3. package: 'HelloAmber'!
  4. !HelloAmber methodsFor: 'accessing'!
  5. begin
  6. "Makes me say hello to the user."
  7. | msg button |
  8. msg := 'Hello world.'.
  9. button := window jQuery: '#sayHello'.
  10. button click: [button after: '<p>' , msg , '</p>'].
  11. ! !