ReSpec question

Sorry, I know I asked something like this before, but I have hit a wall.
What I want to do is add a menu item to the respec UI.

When I look in the profile-w3c.common.js file, I see pretty clearly how to
add a handler assuming I have a handle to the ui object.  But since that
object is somewhat buried, it is unclear to me how I can get at it in a way
that won't be brittle.

When do I want to get at it?  Well, the easiest way would be in an event
handler function:

respecEvents.sub('end-all', function() {...});

So at the end of respec processing, I add my menu and viola.  Any ideas?

-- 
Shane McCarron
Managing Director, Applied Testing and Technology, Inc.

Received on Sunday, 22 March 2015 21:22:46 UTC