In the file ahah_example_simple_validation.inc (which is the example which checks that a textfield has at least 2 words in it), there are the comments:
[line 48]
* Submit handler for autocheckboxes.
[line 61]
/**
* Callback for autocheckboxes. Process the form with the number of checkboxes
* we want to provide.
*/
These are comments which are found in the autocheckboxes.inc (where they belong) and not here.
Comments
Comment #1
drupalshrek commentedAs another small comment, the ahah_example_simple_validation.inc file is not named consistently with the other sub-parts of the ahah_example. It should be named simple_validation.inc to be consistent, since each of the others is also named only with the name of the subpart. For example, the autocheckboxes sub-part is not named ahah_example_autocheckboxes.inc but is simply named autocheckboxes.inc
Comment #2
rfay@drupalshrek, patches are welcome. I'm not sure there's actually as much consistency to judge things by as you are expecting :-)
Comment #3
mile23Ideally, we'd have better Doxy markup (@defgroup, etc). But this is a D6 issue, and we'd like to wind them down.
Committed: http://drupalcode.org/project/examples.git/commitdiff/5d7f9be69462896892...
Thanks, drupalshrek. :-)
Every time I see 'drupalshrek' I think of this: https://twitter.com/search?q=%23putashrekinit&src=hash