Created
August 29, 2008 11:17
-
-
Save kei-s/7956 to your computer and use it in GitHub Desktop.
ubiquity twitter-timeline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CmdUtils.CreateCommand({ | |
name: "twitter-timeline", | |
description: "Browse Twitter Timeline", | |
preview: function(pblock, directObject) { | |
var twitterHome = "http://twitter.com/home"; | |
jQuery.get( twitterHome, {}, function(data) { | |
CmdUtils.loadJQuery(function(){ | |
pblock.innerHTML = window.$("#timeline",data).html(); | |
}); | |
}, "html"); | |
}, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment