Commit 48f298eebbeb7cb1b2a3f84be0c0bdeb9389a2e0

Lea Verou 2012-07-14T17:34:42

Added failing tests — must fix before release!

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/examples.html b/examples.html
index e8c9eb8..3a638b5 100644
--- a/examples.html
+++ b/examples.html
@@ -111,7 +111,14 @@ ol {}</code></pre>
 		doSomething();
 	}
 }</code></pre>
-</pre>
+
+	<h2>Single line comments &amp; regexes</h2>
+	<pre class="prism"><code class="language-javascript">// http://lea.verou.me
+var comment = /\/\*[\w\W]*?\*\//g;</code></pre>
+	
+	<h2>Link in comment</h2>
+	<pre class="prism"><code class="language-javascript">// http://lea.verou.me
+/* http://lea.verou.me */</code></pre>
 </section>
 
 <footer><div class="wrapper">