Confirmed users
764
edits
(→on(selector): menuitem -> menu typo) |
(→Example Usage: Recent Tweets example) |
||
| Line 492: | Line 492: | ||
beforeShow: function (menu) { | beforeShow: function (menu) { | ||
menu.set("Loading..."); | menu.set("Loading..."); | ||
getRecentTweets(function done(tweets) menu.replace( | getRecentTweets(function done(tweets) menu.replace("Loading...", tweets)); | ||
} | } | ||
}) | }) | ||