author | mgerdin |
Tue, 26 Aug 2014 11:53:24 +0200 | |
changeset 26693 | f2910bf56d71 |
parent 22371 | e6b607104dc6 |
permissions | -rw-r--r-- |
22371
e6b607104dc6
8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff
changeset
|
1 |
<p>Define a function in javascript:</p> |
e6b607104dc6
8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff
changeset
|
2 |
|
e6b607104dc6
8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff
changeset
|
3 |
<pre><code>function MyFunc(a) { |
e6b607104dc6
8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff
changeset
|
4 |
var s = '`'; |
e6b607104dc6
8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff
changeset
|
5 |
} |
e6b607104dc6
8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff
changeset
|
6 |
</code></pre> |
e6b607104dc6
8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff
changeset
|
7 |
|
e6b607104dc6
8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff
changeset
|
8 |
<p>And some HTML</p> |
e6b607104dc6
8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff
changeset
|
9 |
|
e6b607104dc6
8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff
changeset
|
10 |
<pre><code class="html"><div>HTML!</div> |
e6b607104dc6
8027958: NASHORN TEST: Create tests to test markdown javascript engine work with Nashorn
sundar
parents:
diff
changeset
|
11 |
</code></pre> |