Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 71
- Log:
Start of upgrade to Typo 4.0.0, the latest stable release since
2.6.0. Note test/mocks/themes/azure changes from a file to a
directory, so the file has been removed in this revision and
the directory will be added in the next revision.
- Author:
- adh
- Date:
- Mon Aug 07 22:18:11 +0100 2006
- Size:
- 356 Bytes
1 | module ContentState |
2 | class Factory |
3 | def self.new(state_name) |
4 | return ContentState::New.instance unless state_name |
5 | state_name = state_name.to_s.underscore |
6 | unless state_name.rindex('/') |
7 | state_name = 'content_state/' + state_name |
8 | end |
9 | require state_name |
10 | state_name.camelize.constantize.instance |
11 | end |
12 | end |
13 | end |