Pier-Documents and Pier-EditorEnh
nick.ager at gmail.com
Wed Jan 13 10:33:50 MET 2010
I've saved an initial port of Pier-Documents and Pier-EditorEnh for Seaside
3.0 to the pier2 repository. I've focused on making essential changes to
ensure that the packages work on Seaside 3.0, rather than all the changes
necessary for the packages to work in other dialects.
One of the changes I made was to remove the image caching as:
| cache |
cache := #(nil) beMutable.
(cache at: 1) isNil ifTrue: [
cache at: 1 put: #(137 80 78 ...
^ cache at: 1
^ #(137 80 78 ...
rational: beMutable is no longer defined and the change appeared to be
inline with changes made to images elsewhere.
Be careful if you're trying to diff in MC, I found that MC disappeared into
a processing back-hole when I tried to diff PRHaloScripts>>haloPng
BTW I don't understand the original caching code, but am intrigued by it. Is
it explained anywhere?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the smallwiki