Sha256: 35e241b7ea6d098bf44ae32437879aef25d0e6837d5a8a364346022c498acb26

Contents?: true

Size: 932 Bytes

Versions: 10

Compression:

Stored size: 932 Bytes

Contents

Prism.languages.j = {
	'comment': /\bNB\..*/,
	'string': /'(?:''|[^'\r\n])*'/,
	'keyword': /\b(?:(?:adverb|conjunction|CR|def|define|dyad|LF|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,
	'verb': {
		// Negative look-ahead prevents bad highlighting
		// of ^: ;. =. =: !. !:
		pattern: /(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[\^?]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,
		alias: 'keyword'
	},
	'number': /\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:[ejpx]|ad|ar)_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_(?!\.))/,
	'adverb': {
		pattern: /[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,
		alias: 'builtin'
	},
	'operator': /[=a][.:]|_\./,
	'conjunction': {
		pattern: /&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,
		alias: 'variable'
	},
	'punctuation': /[()]/
};

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
prism-rails-1.6.0.3 vendor/assets/javascripts/prism/prism-j.js
prism-rails-1.6.0.2 vendor/assets/javascripts/prism/prism-j.js
prism-rails-1.6.0.1 vendor/assets/javascripts/prism/prism-j.js
prism-rails-1.5.1.2 vendor/assets/javascripts/prism-j.js
prism-rails-1.5.1 vendor/assets/javascripts/prism-j.js
highlighting-0.1.4 vendor/assets/javascripts/prism-j.js
highlighting-0.1.3 vendor/assets/javascripts/prism-j.js
highlighting-0.1.2 vendor/assets/javascripts/prism-j.js
highlighting-0.1.1 vendor/assets/javascripts/prism-j.js
highlighting-0.1.0 vendor/assets/javascripts/prism-j.js