1,007
edits
Changes
→TinyURL: Network Calls and jQuery
CmdUtils.CreateCommand({
name: "tinyurl",
takes: {"url to shorten": noun_arb_textnoun_type_url},
preview: "Replaces the selected URL with a TinyUrl.",
execute: function( urlToShorten ) {
})
</pre>
jQuery is a powerful tool. With it, you can fairly effortlessly cherry-pick the data you need from RSS feeds, XML, and all sorts of other data formats. It also makes doing in-preview animations a breeze.