diff options
author | piernov <piernov@piernov.org> | 2016-05-10 22:24:50 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2016-05-10 22:24:50 +0200 |
commit | 9ad61ab6a23bd6fd51e67b85d743b4a7664ec637 (patch) | |
tree | 04c4ef3158c9848db91e56f9318162431a6040b4 /doc/phpdoc/js/prettify/lang-go.js | |
parent | 204e838a7794bbce0d44fc35efb367abb052d02f (diff) | |
parent | 1e52affe15fb13e920f8942de998073238be6d01 (diff) | |
download | candybox-9ad61ab6a23bd6fd51e67b85d743b4a7664ec637.tar.gz candybox-9ad61ab6a23bd6fd51e67b85d743b4a7664ec637.tar.bz2 candybox-9ad61ab6a23bd6fd51e67b85d743b4a7664ec637.tar.xz candybox-9ad61ab6a23bd6fd51e67b85d743b4a7664ec637.zip |
Merge branch 'phpdoc' into piernov
Diffstat (limited to 'doc/phpdoc/js/prettify/lang-go.js')
-rw-r--r-- | doc/phpdoc/js/prettify/lang-go.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/phpdoc/js/prettify/lang-go.js b/doc/phpdoc/js/prettify/lang-go.js new file mode 100644 index 0000000..fc18dc0 --- /dev/null +++ b/doc/phpdoc/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"]); |