Sha256: 9ef9834ab7dbbc86fafc15461415bb1665334eb00fea80ab76c5657811b7ff6f
Contents?: true
Size: 464 Bytes
Versions: 24
Compression:
Stored size: 464 Bytes
Contents
(function($) { var ajax = $.ajax; $(Screw).bind('after', function() { var error_text = $(".error").map(function(i, element) { return element.innerHTML; }).get().join("\n"); var suite_id; if(top.runOptions) { suite_id = top.runOptions.getSessionId(); } else { suite_id = 'user'; } ajax({ type: "POST", url: '/suites/' + suite_id + '/finish', data: {"text": error_text} }); }); })(jQuery);
Version data entries
24 entries across 22 versions & 6 rubygems