// Twitter API
twitter.getFriends('marcuswestin', function(userIds){})
twitter.getUserInfo('marcuswestin', function(userInfo){})
twitter.getTimeline('marcuswestin', function(tweets){})
twitter.getLoggedInStatus(function(status){})

// Twitter search API
twitter.getMentions('marcuswestin', function(response))

// for setting and retrieving the cache
twitter.addToCache(url, data);
twitter.getCache();
twitter.setCache({ url1: response1, url2: response2 });

// very useful while debugging, to avoid hitting your rate limit
var cacheString = twitter.getCache().toSource();
twitter.setCache(eval(cacheString));

// Get mentions
twitter.getMentions('marcuswestin', function(response) {
	response.profile_image_url
	response.max_id
	response.since_id
	response.refresh_url
	response.total
	response.results_per_page
	response.page
	response.completed_in
	response.query
	
	var tweets = response.results;
	var tweet = tweets[0];
	tweet.profile_image_url
	tweet.created_at
	tweet.from_user
	tweet.to_user_id
	tweet.text
	tweet.id
	tweet.from_user_id
	tweet.geo
	tweet.iso_language_code
	tweet.source
})

// Get a user's timeline
twitter.getTimeline('marcuswestin', function(tweets){
	var tweet = tweets[0];
	tweet.truncated
	tweet.favorited
	tweet.source
	tweet.in_reply_to_user_id
	tweet.in_reply_to_status_id
	tweet.in_reply_to_screen_name
	tweet.created_at
	tweet.id
	tweet.geo
	tweet.text

	var userInfo = tweet.user;
	userInfo.notifications
	userInfo.favourites_count
	userInfo.profile_background_color
	userInfo.description
	userInfo.following
	userInfo.verified
	userInfo.profile_sidebar_fill_color
	userInfo.profile_image_url
	userInfo.time_zone
	userInfo.profile_sidebar_border_color
	userInfo.url
	userInfo.screen_name
	userInfo.statuses_count
	userInfo.profile_text_color
	userInfo.followers_count
	userInfo['protected']
	userInfo.profile_background_image_url
	userInfo.created_at
	userInfo.location
	userInfo.name
	userInfo.geo_enabled
	userInfo.friends_count
	userInfo.profile_link_color
	userInfo.id
	userInfo.profile_background_tile
	userInfo.utc_offset
})

// for setting and retrieving the cache
twitter.addToCache(url, data);
twitter.getCache();
twitter.setCache({ url1: response1, url2: response2 });

// very useful for debugging, to avoid hitting your rate limit while testing.
var cacheString = twitter.getCache().toSource();
twitter.setCache(eval(cacheString));

@@ -1,18 +1,18 @@
 /
-/
+*
  Twitter API%0Atwi
@@ -4,24 +4,40 @@
 Twitter API%0A
+ *************/%0A
 twitter.getF
@@ -242,17 +242,17 @@
 s)%7B%7D)%0A%0A/
-/
+*
  Twitter
@@ -263,16 +263,39 @@
 rch API%0A
+ ********************/%0A
 twitter.
@@ -348,46 +348,111 @@
 )%0A%0A/
-/ for setting and retrieving the cache
+* Tweet cache - useful for development and testing%0A **************************************************/
 %0Atwi
@@ -571,21 +571,19 @@
  useful 
-while
+for
  debuggi
@@ -618,16 +618,31 @@
 te limit
+ while testing.
 %0Avar cac
@@ -726,22 +726,31 @@
 ;%0A%0A/
-/ Get mentions
+* Examples%0A **********/
 %0Atwi
@@ -1222,33 +1222,8 @@
 %7D)%0A%0A
-// Get a user's timeline%0A
 twit
@@ -2166,316 +2166,4 @@
 %7D)%0A%0A
-// for setting and retrieving the cache%0Atwitter.addToCache(url, data);%0Atwitter.getCache();%0Atwitter.setCache(%7B url1: response1, url2: response2 %7D);%0A%0A// very useful for debugging, to avoid hitting your rate limit while testing.%0Avar cacheString = twitter.getCache().toSource();%0Atwitter.setCache(eval(cacheString));%0A

Clean up the examples file a bit