Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Random Cat Picture
getCats = ->
$.get '', (data) ->
xmlimages = $(data).find 'image'
randomimage = xmlimages[Math.floor(Math.random() * xmlimages.length)]
imageurl = $(randomimage).find("url").text()

This comment has been minimized.

Show comment Hide comment

xjackk Feb 19, 2016

cats everywhere ~


xjackk commented Feb 19, 2016

cats everywhere ~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment