Showing the changes to assets/javascripts (3 of 6 files). Show all
Unified · Split
| @@ -58,6 +58,7 @@ class app.models.Entry extends app.Model · 57 unmodified lines | ||
| 58 | 58 | 'crystal': 'cr' |
| 59 | 59 | 'elixir': 'ex' |
| 60 | 60 | 'javascript': 'js' |
| 61 | + 'julia': 'jl' | |
| 61 | 62 | 'jquery': '$' |
| 62 | 63 | 'knockout.js': 'ko' |
| 63 | 64 | 'less': 'ls' |
| @@ -383,7 +383,7 @@ credits = [ · 382 unmodified lines | ||
| 383 | 383 | 'https://raw.githubusercontent.com/jquery/api.jqueryui.com/master/LICENSE.txt' |
| 384 | 384 | ], [ |
| 385 | 385 | 'Julia', |
| 386 | − '2009-2018 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors', | |
| 386 | + '2009-2019 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and other contributors', | |
| 387 | 387 | 'MIT', |
| 388 | 388 | 'https://raw.githubusercontent.com/JuliaLang/julia/master/LICENSE.md' |
| 389 | 389 | ], [ |
| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | /* PrismJS 1.17.1 |
| 2 | −https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+c+bash+cpp+coffeescript+ruby+d+dart+markup-templating+elixir+erlang+go+java+php+json+kotlin+crystal+lua+django+matlab+typescript+nginx+nim+perl+sql+scss+python+jsx+rust+yaml */ | |
| 2 | +https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+c+bash+cpp+coffeescript+ruby+d+dart+markup-templating+elixir+erlang+go+java+php+json+julia+kotlin+crystal+lua+django+matlab+typescript+nginx+nim+perl+sql+scss+python+jsx+rust+yaml */ | |
| 3 | 3 | var _self = (typeof window !== 'undefined') |
| 4 | 4 | ? window // if in browser |
| 5 | 5 | : ( |
| @@ -1894,6 +1894,20 @@ Prism.languages.json = { · 1888 unmodified lines | ||
| 1894 | 1894 | } |
| 1895 | 1895 | }; |
| 1896 | 1896 | |
| 1897 | +Prism.languages.julia= { | |
| 1898 | + 'comment': { | |
| 1899 | + pattern: /(^|[^\\])#.*/, | |
| 1900 | + lookbehind: true | |
| 1901 | + }, | |
| 1902 | + 'string': /("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2/, | |
| 1903 | + 'keyword' : /\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/, | |
| 1904 | + 'boolean' : /\b(?:true|false)\b/, | |
| 1905 | + 'number' : /(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+\.?\d*|\.\d+)(?:[efp][+-]?\d+)?j?/i, | |
| 1906 | + 'operator': /[-+*^%÷&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥]/, | |
| 1907 | + 'punctuation' : /[{}[\];(),.:]/, | |
| 1908 | + 'constant': /\b(?:(?:NaN|Inf)(?:16|32|64)?)\b/ | |
| 1909 | +}; | |
| 1910 | + | |
| 1897 | 1911 | (function (Prism) { |
| 1898 | 1912 | Prism.languages.kotlin = Prism.languages.extend('clike', { |
| 1899 | 1913 | 'keyword': { |