On Wed, Sep 3, 2008 at 7:02 PM, RobG <rg...@iinet.net.au> wrote:
[snip]
> That would have been avoided (well, maybe) if there was some
> documentation that listed the properties of a dragManager. The drag
> documentation seems more interested in the philosopy behind the
> library rather than stuff that is helpful to users (i.e. programmers).
It is generous of you to refer to that as "documentation".
The reason the documentation is not written properly is I'm not sure
what to do about the drag-drop library. I don't really like how the
code is arranged aesthetically (the feature testing especially.) It
does work well and can be used to build very fast interfaces. I'm
going to need drag and drop for something new in the next few months
and I was putting this one part of the Fork 0.2 overhaul off until my
brain is fully engaged.
For the time being if you have any questions feel free to ask on this list.
> Peter, is it possible to create a documentation Wiki or some form of
> auto-generated documentation from the code? Even if it was just basic
> API properties, methods, expected arguments, etc. - it need not fully
> document the internals.
Yes, eventually there will be documentation in Fork included in the
source code and then extracted to HTML. I have had the system working
for xjs
The source code:
http://dev.michaux.ca/svn/xjs/trunk/Assert/lib/Assert.js
The resulting page:
http://xjs.michaux.ca/documentation/current/Assert.html
I am a big fan of documentation. I've used the
http://forkjavascript.org/ site many times myself (never can remember
how the cookies API works) so better documentation for the drag-drop
code will surface.
Right now I'm working on server-side JavaScript stuff with xpkg and
xjs 0.1.0 and that will be a big step forward for xjs itself and also
for the documentation of Fork 0.2.
------
Did you determine a decent feature test for the touch events interface?
Peter