Created
December 7, 2008 05:23
-
-
Save johnbender/33036 to your computer and use it in GitHub Desktop.
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
<script type='text/javascript'> | |
//FIRST | |
//script added before the remote resource call to delicious | |
//added dynamically with the right id | |
DeliciousTop.DisplayjohndoeLinks = function(data){ | |
DeliciousTop.DisplayLinks(data, 'johndoe|erlang'); | |
} | |
</script> | |
<script type='text/javascript' src='http://feeds.delicious.com/v2/json/nousplacidus/erlang?callback=DeliciousUserTop.DisplayjohndoeLinks'> | |
// SECOND | |
//result of remote resource call to delicious with callback function | |
DeliciousUserTop.DisplayjohndoeLinks([{ /*...array data...*/ }]) | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment