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

Side by Side Diff: lib/src/prism/components/prism-java.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-java.js ('k') | lib/src/prism/components/prism-javascript.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.java=Prism.languages.extend("clike",{keyword:/\b(abstract|contin ue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private |this|break|double|implements|protected|throw|byte|else|import|public|throws|cas e|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interf ace|static|void|class|finally|long|strictfp|volatile|const|float|native|super|wh ile)\b/,number:/\b0b[01]+\b|\b0x[\da-f]*\.?[\da-fp\-]+\b|\b\d*\.?\d+[e]?[\d]*[df ]\b|\b\d*\.?\d+\b/i,operator:{pattern:/(^|[^\.])(?:\+=|\+\+?|-=|--?|!=?|<{1,2}=? |>{1,3}=?|==?|&=|&&?|\|=|\|\|?|\?|\*=?|\/=?|%=?|\^=?|:|~)/m,lookbehind:!0}}); 1 Prism.languages.java=Prism.languages.extend("clike",{keyword:/\b(abstract|contin ue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private |this|break|double|implements|protected|throw|byte|else|import|public|throws|cas e|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interf ace|static|void|class|finally|long|strictfp|volatile|const|float|native|super|wh ile)\b/,number:/\b0b[01]+\b|\b0x[\da-f]*\.?[\da-fp\-]+\b|\b\d*\.?\d+(?:e[+-]?\d+ )?[df]?\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|!=?|<<?=?|>>?>?=?|==?|& [&=]?|\|[|=]?|\*=?|\/=?|%=?|\^=?|[?:~])/m,lookbehind:!0}});
OLDNEW
« no previous file with comments | « lib/src/prism/components/prism-java.js ('k') | lib/src/prism/components/prism-javascript.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698