mirror of
https://github.com/reality/dbot.git
synced 2024-12-18 00:22:35 +01:00
16 lines
436 B
Plaintext
16 lines
436 B
Plaintext
|
!!! 5
|
||
|
html(lang='en')
|
||
|
head
|
||
|
meta(charset='utf-8')
|
||
|
script(type="text/javascript", src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js")
|
||
|
title random imgur
|
||
|
script
|
||
|
function wat() {
|
||
|
$.get("/api/imgur/getRandomImage", function(d) {$('#image').attr('src', d.data[0])}, "json");
|
||
|
};
|
||
|
$(wat());
|
||
|
$(document).keypress(wat);
|
||
|
body
|
||
|
div#container
|
||
|
img#image(style='width: 100%')
|