Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(452)

Side by Side Diff: lib/src/prism/components/prism-crystal.min.js

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/src/prism/components/prism-crystal.js ('k') | lib/src/prism/components/prism-css.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 !function(e){e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:abstr act|alias|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend |for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof |private|protected|rescue|return|require|self|sizeof|struct|super|then|type|type of|union|unless|until|when|while|with|yield|__DIR__|__FILE__|__LINE__)\b/,{patte rn:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[ 0-7_]*[0-7]|0x[0-9a-fA-F_]*[0-9a-fA-F]|(?:[0-9](?:[0-9_]*[0-9])?)(?:\.[0-9_]*[0- 9])?(?:[eE][+-]?[0-9_]*[0-9])?)(?:_(?:[uif](?:8|16|32|64))?)?\b/});var t=e.util. clone(e.languages.crystal);e.languages.insertBefore("crystal","string",{attribut e:{pattern:/@\[.+?\]/,alias:"attr-name",inside:{delimiter:{pattern:/^@\[|\]$/,al ias:"tag"},rest:t}},expansion:[{pattern:/\{\{.+?\}\}/,inside:{delimiter:{pattern :/^\{\{|\}\}$/,alias:"tag"},rest:t}},{pattern:/\{%.+?%\}/,inside:{delimiter:{pat tern:/^\{%|%\}$/,alias:"tag"},rest:t}}]})}(Prism);
OLDNEW
« no previous file with comments | « lib/src/prism/components/prism-crystal.js ('k') | lib/src/prism/components/prism-css.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698