Commit 48959123a817e1ce01d9c282ff39d931a1d1a1d3

Lea Verou 2012-07-11T14:25:03

Enabled web workers for iframed code snippets

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/code.js b/code.js
index 2cd2984..25c0db0 100644
--- a/code.js
+++ b/code.js
@@ -42,7 +42,7 @@ $$('iframe').forEach(function(iframe) {
 		$u.element.create(link);
 		
 		
-		Prism.highlight(pre);
+		Prism.highlight(pre,true);
 	})();
 });