Sha256: e9171bb1ac211483222271a6372ab2be0d2fc4351274f89e2d127b5a20414493
Contents?: true
Size: 395 Bytes
Versions: 2
Compression:
Stored size: 395 Bytes
Contents
$(function() { var update = function(data) { $('ul li').remove(); var ul = $('ul'); $(data.files).each(function(index, item) { ul.append('<li><a href="' + item.url + '" target="porthole">' + item.name + '</a></li>'); }); }; var fetch = function() { $.get('/files', function(data) { update(data); setTimeout(fetch, 1000); }); }; fetch(); });
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
capybara-remote-viewer-0.0.2 | static/application.js |
capybara-remote-viewer-0.0.1 | static/application.js |