File: body_script.html

package info (click to toggle)
node-turbolinks 5.2.0%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 512 kB
  • sloc: javascript: 31; ruby: 12; sh: 5; makefile: 3
file content (20 lines) | stat: -rw-r--r-- 534 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Body script</title>
    <script src="/fixtures/turbolinks.js" data-turbolinks-track="reload"></script>
    <script src="/fixtures/test.js"></script>
    <meta name="turbolinks-cache-control" content="no-preview">
  </head>
  <body>
    <h1>Body script</h1>
    <script>
      if ("bodyScriptEvaluationCount" in window) {
        window.bodyScriptEvaluationCount++
      } else {
        window.bodyScriptEvaluationCount = 1
      }
    </script>
  </body>
</html>