Smalltalk createPackage: '{%= name %}'! Object subclass: #{%= name %} instanceVariableNames: '' package: '{%= name %}'! !{%= name %} methodsFor: 'action'! doAmberWith | tag | tag := (HTMLCanvas onJQuery: '#output-list' asJQuery) root. tag with: [ :html | html li with: 'Amber Web #with: added me!!' ] ! doJQueryAppend '#output-list' asJQuery append: '
  • jQuery append added me!!
  • ' ! ! !{%= name %} methodsFor: 'starting'! augmentPage '#amber-with' asJQuery click: [ self doAmberWith ]. '#jquery-append' asJQuery click: [ self doJQueryAppend ] ! ! !{%= name %} class methodsFor: 'starting'! start self new augmentPage ! !