Tender js widget documentation

Shay Arnett's Avatar

Shay Arnett

23 Jul, 2009 06:53 PM

When you want to use the widget with your own links, the documentation is a little confusing.

widgetToggles: [$('help')]

Example uses prototype without mentioning which framework, and could be cleared up with a couple more examples.

// No framework
widgetToggles: [document.getElementById('help')]
// Prototype
widgetToggles: [$('help')]
// jQuery
widgetToggles: $('#help')
  1. 1 Posted by Kyle Neath (Git... on 23 Jul, 2009 10:25 PM

    Kyle Neath (GitHub Staff) 's Avatar

    Thanks, I made it a bit clearer that you don't need a framework. Should be deployed in the next few days.

  2. Kyle Neath (GitHub Staff) closed this discussion on 23 Jul, 2009 10:25 PM.

Discussions are closed to public comments.
If you need help with Tender please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac