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

Side by Side Diff: lib/src/prism/components/prism-makefile.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-makefile.js ('k') | lib/src/prism/components/prism-markdown.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Prism.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\[\s\S]|.)*/,lookbehin d:!0},string:/(["'])(?:\\[\s\S]|(?!\1)[^\\\r\n])*\1/,builtin:/\.[A-Z][^:#=\s]+(? =\s*:(?!=))/,symbol:{pattern:/^[^:=\r\n]+(?=\s*:(?!=))/m,inside:{variable:/\$+(? :[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[ ({]))/,keyword:[/\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|-?include|ov erride|private|sinclude|undefine|unexport|vpath)\b/,{pattern:/(\()(?:addsuffix|a bspath|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstwor d|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|real path|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:s|list)?)(?=[ \ t])/,lookbehind:!0}],operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}; 1 Prism.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|.)*/, lookbehind:!0},string:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,builtin:/ \.[A-Z][^:#=\s]+(?=\s*:(?!=))/,symbol:{pattern:/^[^:=\r\n]+(?=\s*:(?!=))/m,insid e:{variable:/\$+(?:[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:[^(){}:#=\s]+|\([@ *%<^+?][DF]\)|(?=[({]))/,keyword:[/-include\b|\b(?:define|else|endef|endif|expor t|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,{ pattern:/(\()(?:addsuffix|abspath|and|basename|call|dir|error|eval|file|filter(? :-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|not dir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wild card|word(?:s|list)?)(?=[ \t])/,lookbehind:!0}],operator:/(?:::|[?:+!])?=|[|@]/, punctuation:/[:;(){}]/};
OLDNEW
« no previous file with comments | « lib/src/prism/components/prism-makefile.js ('k') | lib/src/prism/components/prism-markdown.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698