Sha256: 10ffd5f59471850d24f3abca0743e8d49200817f1baf32e47fe17c91341dbc81
Contents?: true
Size: 416 Bytes
Versions: 99
Compression:
Stored size: 416 Bytes
Contents
mumuki.load(function() { $('#upload-input').change(function (evt) { var file = evt.target.files[0]; if (!file) return; var reader = new FileReader(); reader.onload = function (e) { var contents = e.target.result; $('#solution_content').html(contents); $(evt.target).val(""); $('form.new_solution').submit(); }; reader.readAsText(file); return false; }); });
Version data entries
99 entries across 99 versions & 1 rubygems