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

Side by Side Diff: lib/src/prism/components/prism-scheme.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-scheme.js ('k') | lib/src/prism/components/prism-scss.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.scheme={"boolean":/#(t|f){1}/,comment:/;.*/,keyword:{pattern:/([ (])(define(-syntax|-library|-values)?|(case-)?lambda|let(-values|(rec)?(\*)?)?|e lse|if|cond|begin|delay|delay-force|parameterize|guard|set!|(quasi-)?quote|synta x-rules)/,lookbehind:!0},builtin:{pattern:/([(])(cons|car|cdr|null\?|pair\?|bool ean\?|eof-object\?|char\?|procedure\?|number\?|port\?|string\?|vector\?|symbol\? |bytevector\?|list|call-with-current-continuation|call\/cc|append|abs|apply|eval )\b/,lookbehind:!0},string:/(["])(?:(?=(\\?))\2.)*?\1|'[^('|\s)]+/,number:/(\s|\ ))[-+]?[0-9]*\.?[0-9]+((\s*)[-+]{1}(\s*)[0-9]*\.?[0-9]+i)?/,operator:/(\*|\+|\-| %|\/|<=|=>|>=|<|=|>)/,"function":{pattern:/([(])[^(\s|\))]*\s/,lookbehind:!0},pu nctuation:/[()]/}; 1 Prism.languages.scheme={comment:/;.*/,string:/"(?:[^"\\\r\n]|\\.)*?"|'[^('\s]*/, keyword:{pattern:/(\()(?:define(?:-syntax|-library|-values)?|(?:case-)?lambda|le t(?:\*|rec)?(?:-values)?|else|if|cond|begin|delay(?:-force)?|parameterize|guard| set!|(?:quasi-)?quote|syntax-rules)/,lookbehind:!0},builtin:{pattern:/(\()(?:(?: cons|car|cdr|list|call-with-current-continuation|call\/cc|append|abs|apply|eval) \b|null\?|pair\?|boolean\?|eof-object\?|char\?|procedure\?|number\?|port\?|strin g\?|vector\?|symbol\?|bytevector\?)/,lookbehind:!0},number:{pattern:/(\s|\))[-+] ?[0-9]*\.?[0-9]+(?:\s*[-+]\s*[0-9]*\.?[0-9]+i)?\b/,lookbehind:!0},"boolean":/#[t f]/,operator:{pattern:/(\()(?:[-+*%\/]|[<>]=?|=>?)/,lookbehind:!0},"function":{p attern:/(\()[^\s()]*(?=\s)/,lookbehind:!0},punctuation:/[()]/};
OLDNEW
« no previous file with comments | « lib/src/prism/components/prism-scheme.js ('k') | lib/src/prism/components/prism-scss.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698