Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename Plist to PLIST to comply with new formatters
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1427917
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this comply with? The others are uppercase because they're all acronyms. This should probably be PList instead of Plist or PLIST.
1427917
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Formatter calls upcase to load the class, hence the change.
1427917
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea, just saw that. That kinda sucks having to have upcase names for all the formatters. Could we, instead, just use the proper casing when passing into Render?
1427917
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would cause issues for new users: some will type with uppercase, some with downcase, etc., and hence blow up. I would much rather optimize for the end user, not for the developer who is writing the formatter.
1427917
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heh, I thought you'd say that.