A personal wiki living in a self-modifying XHTML file
You are not logged in.
Lately I've been experimenting with a few features (with great help from forum people) and I'm running into a bit of an issue with modifying scripts.
I'm not that experienced with scripting, plus I like to keep everything organized. If I make changes to the CSS I always comment them so I can find them later.
By contrast I just added the tabbed content feature from Stanky, and I just had to blindly replace my parser.js and ui.js, and the relevant CSS. He's done some good commenting but nothing that tells me where his changes begin and end.
Would it be possible for the devs to post guidelines for script plugins?
Ideally every new feature should be self-contained in its own newscript.js section. For example right now I am doing my modifying on v0.9.7b and saving new scripts in the /src folder.
If modifications have to be done to existing scripts I would like to know how it can be done by just inserting a call to a separate script section, that is, a discrete file in /src.
If plugins can be modular like that or at least separated from existing script by good comments it would sure help.
Thanks
Last edited by Snaga (12-11-2009 09:43:14)
Offline