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

Side by Side Diff: lib/src/prism/components/prism-tcl.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-tcl.js ('k') | lib/src/prism/components/prism-textile.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 Prism.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:/"(?: [^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+: :)*[a-zA-Z0-9_]+/,lookbehind:!0},{pattern:/(\$){[^}]+}/,lookbehind:!0},{pattern: /(^\s*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*[a-zA-Z0-9_]+/m,lookbehind:!0}],"funct ion":{pattern:/(^\s*proc[ \t]+)[^\s]+/m,lookbehind:!0},builtin:[{pattern:/(^\s*) (?:proc|return|class|error|eval|exit|for|foreach|if|switch|while|break|continue) \b/m,lookbehind:!0},/\b(elseif|else)\b/],scope:{pattern:/(^\s*)(global|upvar|var iable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^\s*|\[)(after|app end|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_ol d|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|exp r|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|inc r|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepe at|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace| open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|reg exp|registry|regsub|rename|Safe_Base|scan|seek|set|socket|source|split|string|su bst|Tcl|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|wordBreak(?:A fter|Before)|test|vars)|tell|time|tm|trace|unknown|unload|unset|update|uplevel|v wait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%? ^]|\b(?:eq|ne|in|ni)\b/,punctuation:/[{}()\[\]]/};
OLDNEW
« no previous file with comments | « lib/src/prism/components/prism-tcl.js ('k') | lib/src/prism/components/prism-textile.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698