Sha256: caf5411fb06c2c05cadbdebd13eb18015da11fe970a0d5e40d3ec9069f210c1c

Contents?: true

Size: 515 Bytes

Versions: 3

Compression:

Stored size: 515 Bytes

Contents

Prism.languages.typescript = Prism.languages.extend('javascript', {
	'keyword': /\b(break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|set|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield|module|declare|constructor|string|Function|any|number|boolean|Array|enum)\b/
});

Prism.languages.ts = Prism.languages.typescript;

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
prism-rails-1.6.0.3 vendor/assets/javascripts/prism/prism-typescript.js
prism-rails-1.6.0.2 vendor/assets/javascripts/prism/prism-typescript.js
prism-rails-1.6.0.1 vendor/assets/javascripts/prism/prism-typescript.js