summaryrefslogtreecommitdiffstats
path: root/sample_files/jsx_1.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'sample_files/jsx_1.jsx')
-rw-r--r--sample_files/jsx_1.jsx10
1 files changed, 10 insertions, 0 deletions
diff --git a/sample_files/jsx_1.jsx b/sample_files/jsx_1.jsx
new file mode 100644
index 000000000..5003441cb
--- /dev/null
+++ b/sample_files/jsx_1.jsx
@@ -0,0 +1,10 @@
+ReactDOM.render(
+ <h1>Hello, world!</h1>,
+ document.getElementById("root"));
+
+var x = (
+ <div>
+ <p>
+ foo
+ </p>
+ </div>);