Created
March 2, 2010 09:58
-
-
Save cbrumelle/319407 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<!-- include the data file. This dumps everything into a JS variable called 'data' --> | |
<script src="/data/genres.js" type="text/javascript"></script> | |
<!-- print out some trivial data to show that it's loaded --> | |
<script> | |
$('container').update("Total count from trackdata is: " + | |
data.trackdata.total + | |
" <br />and total count from listendata is: " + | |
data.listendata.total); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment