Sha256: 3086f9b7c1c8ff1c8c1a923f9774d06dc9cbb8e1404ed436022c4f019b1cb1c8
Contents?: true
Size: 392 Bytes
Versions: 57
Compression:
Stored size: 392 Bytes
Contents
<div> <style type="text/golf"> </style> <script type="text/golf"> function() { var fetch_number = function(){ $.get('/random-api-method', {}, function(data){ $("#result").text(data); }) }; fetch_number(); $("#generator_btn").click(fetch_number); } </script> <button id="generator_btn">Ask for a random number</button> <div id="result"></div> </div>
Version data entries
57 entries across 57 versions & 1 rubygems