- Using by default the same convention seen in Ruby on Rails for opening and closing tags
<% 40+2 %>
and<%= 40+2 %>
.
- STT has new deprecated methods in favor of methods that are friendlier to Ride-based applications.
STT yield: aNamedPartialToYield
is nowSTT yieldUsing: aNamedPartialToYield
.STT yield: aNamedPartialToYield on: aContext
is nowSTT yield: aContext using: aNamedPartialToYield
.
- Added smalltalkCI
- Added Codecov
- Added which Pharo versions are supported (currently only Pharo10)
- Adjusted the compilation so the templates can access instVars of the context directly as if they where a method of that object (which dinamically they are).
- This works
<div><st= firstName, ' ', answer asString></div>
testCanAccessInstVarsOfTheContext
andtestCanAccessInstVarsOfTheContextFromAPartial
are coverage.
- Adjusted
STT yield:on:
to allow rendering cases like this one<st= STT yield: 'shared/alerts.html' on: self alerts>
whereshared/alerts.html
has alerts deeper in the partials sent in the rendering context.
- Added
README.md
and how-to guides: one to test it withTeapot
and another one using it to make anhtmx
based Counter app.