BSD is compatible with MIT (I haven't checked AFL but we can package under
BSD-MIT only if that's an issue) so the issue that was pointed out isn't
license compatibility. It's being sure that we comply with the terms of
the License. The license text from the yahoo URL says:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
I think that means that LICENSE.txt needs to include the Yahoo BSD license
and copyright terms for that function. I'm not sure if the license
information should also be included verbatim in the Style.js file.
I'll attach a patch to modify LICENSE.txt.
I've updated the license text in the MochiKit repository with your patch:
We'll use the updated license for the 1.5 release (whenever that'll
be), but there are no current plans for patching the 1.4.x release
further (unless critical bugs are discovered). Feel free to apply you
patch to the version packaged in Fedora.