Sha256: 9850c6e3486159b93395ef717cbcc93bb921478a147738ef208bf59154c4e2c2
Contents?: true
Size: 531 Bytes
Versions: 1
Compression:
Stored size: 531 Bytes
Contents
$(document).ready(function () { var playground = new PlayGround(".area"); var renderMatrix = function (days) { $.get('/data/' + days, function (data, status) { if (status == 'success') { playground.load(JSON.parse(data)); } else { console.log(data); alert('error occurred!') } }) }; $('#visualize').on('click', function () { renderMatrix($('#days').val()) }); renderMatrix($('#days').val()); });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pairing_matrix-0.1.2 | lib/pairing_matrix/server/public/index.js |