Sha256: c730ac374e91ba3469b55037cc80694655e1b0edfed56ce23d23559af49eb6d5
Contents?: true
Size: 1.08 KB
Versions: 4
Compression:
Stored size: 1.08 KB
Contents
<!DOCTYPE> <html> <head> <title>Teabag :: Javascript Test Runner</title> <meta name="viewport" content="width=device-width, user-scalable=no"> <%= csrf_meta_tags %> <%= stylesheet_link_tag_for_teabag *@suite.stylesheets %> <%= javascript_include_tag_for_teabag *@suite.core_javascripts %> <script type="text/javascript"> // pass relevant info to javascript Teabag.version = <%=raw Teabag::VERSION.inspect %>; Teabag.root = <%=raw Teabag.configuration.mount_at.inspect %>; Teabag.suites = <%=raw @suite.suites.to_json %>; </script> <%= javascript_include_tag_for_teabag *@suite.spec_javascripts, @javascript_options %> <script type="text/javascript"> // start the execution of the specs (on onload, handling existing onload events) window.originalOnload = window.onload; window.onload = function() { if (Teabag.started) return; // ensure this never happens more than once if (window.originalOnload) window.originalOnload(); Teabag.execute(); } </script> </head> <body> </body> </html>
Version data entries
4 entries across 4 versions & 1 rubygems