ajaxorg/cloud9 — comment on commit c02882461ad5343906f7a7698308b1be777f0795
File:  line 0
By javruben:

what would also work is:

button.setAttribute("tooltip", options.menu.split("/").pop());