Forum OpenACS Development: Re: Javascript tree menu for bookmarks package

Collapse
Posted by Jeff Davis on
It's definitely not GPL compatible given the restrictions on resale. Furthermore, the low weight is due to the code being compressed and variables being shortened to 3 characters. And given that the code is compressed and the variable names are essentially meaningless changing or improving it is much more difficult than it needs to be.

Considering we are talking about something on the order of about 200 lines of javascript shouldn't we just fix what we have?

Collapse
Posted by Gabriel Burca on
The version I am using is uncompressed. I wouldn't use the compressed one since it only saves 2k over the uncompressed version and it would be a pain to modify. The uncompressed one is still half the size of the current one and much faster.

Yes, we could try fixing what we have. It was easier though to get an updated script that works and is effectively a drop-in replacement of the old one. That's because I don't know enough about the subtle differences between the browsers to figure out why it works in some but not others.

I'll see if they're willing to let us include it in OpenACS.