Thanks for the replies, guys. I ended up doing something pretty
similar to what you suggested, Mark. In the test page, before the
plugin is loaded I added
<script>testPrivates = {}</script>
and in the plugin's code, I added the following:
if (window.testPrivates)
{
function a(name, fn) {
window.testPrivates[name] = fn;
}
a("blah", blah);
a("foo", foo);
// etc...
}
Now, I am in the middle of writing another set of unit tests for these
newly exposed functions.
Thanks for the help!
_Nick_
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---