File: eval_false_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 (19 lines) | stat: -rw-r--r-- 543 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
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>data-turbolinks-eval=false script</title>
    <script src="/fixtures/turbolinks.js" data-turbolinks-track="reload"></script>
    <script src="/fixtures/test.js"></script>
  </head>
  <body>
    <h1>data-turbolinks-eval=false script</h1>
    <script data-turbolinks-eval="false">
      if ("bodyScriptEvaluationCount" in window) {
        window.bodyScriptEvaluationCount++
      } else {
        window.bodyScriptEvaluationCount = 1
      }
    </script>
  </body>
</html>