diff options
author | Eric Bidelman | 2012-04-08 17:50:49 -0700 |
---|---|---|
committer | Eric Bidelman | 2012-04-08 17:50:49 -0700 |
commit | db92c5e0c26ba0bb545993bb48533d39f1934b95 (patch) | |
tree | ccdf3b9ee4c54923fadaf4fe43979b2997e27342 /js/prettify/lang-go.js | |
parent | 1a10348622e92803cc9a90ec4369bb6974cc5329 (diff) | |
download | io-slides-remote-db92c5e0c26ba0bb545993bb48533d39f1934b95.tar.gz |
Adding prettyprint. Clean up old files
Diffstat (limited to 'js/prettify/lang-go.js')
-rw-r--r-- | js/prettify/lang-go.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/prettify/lang-go.js b/js/prettify/lang-go.js new file mode 100644 index 0000000..fc18dc0 --- /dev/null +++ b/js/prettify/lang-go.js | |||
@@ -0,0 +1 @@ | |||
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r Â\xa0"],["pln",/^(?:"(?:[^"\\]|\\[\S\s])*(?:"|$)|'(?:[^'\\]|\\[\S\s])+(?:'|$)|`[^`]*(?:`|$))/,null,"\"'"]],[["com",/^(?:\/\/[^\n\r]*|\/\*[\S\s]*?\*\/)/],["pln",/^(?:[^"'/`]|\/(?![*/]))+/]]),["go"]); | |||