Sha256: 0ec0e54205575e262a3a8f04079aee49c457f3ea047c4b707a0f97c50d4baf4c

Contents?: true

Size: 681 Bytes

Versions: 6

Compression:

Stored size: 681 Bytes

Contents

Prism.languages.go=Prism.languages.extend("clike",{keyword:/\b(break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,builtin:/\b(bool|byte|complex(64|128)|error|float(32|64)|rune|string|u?int(8|16|32|64|)|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(ln)?|real|recover)\b/,"boolean":/\b(_|iota|nil|true|false)\b/,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,number:/\b(-?(0x[a-f\d]+|(\d+\.?\d*|\.\d+)(e[-+]?\d+)?)i?)\b/i,string:/("|'|`)(\\?.|\r|\n)*?\1/}),delete Prism.languages.go["class-name"];

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
highlighting-0.1.4 vendor/assets/javascripts/prism-go.min.js
prism-rails-1.5.0 vendor/assets/javascripts/prism-go.min.js
highlighting-0.1.3 vendor/assets/javascripts/prism-go.min.js
highlighting-0.1.2 vendor/assets/javascripts/prism-go.min.js
highlighting-0.1.1 vendor/assets/javascripts/prism-go.min.js
highlighting-0.1.0 vendor/assets/javascripts/prism-go.min.js