diff app/assets/javascripts/init.prettify.js @ 55:f957ce997ff0

Added basic syntax highlighter.
author Edho Arief <edho@myconan.net>
date Thu, 04 Oct 2012 04:50:22 +0700
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/assets/javascripts/init.prettify.js	Thu Oct 04 04:50:22 2012 +0700
@@ -0,0 +1,3 @@
+$(document).ready(function() {
+  window.prettyPrint && prettyPrint()
+});