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

Side by Side Diff: lib/src/prism/components/prism-objectivec.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-objectivec.js ('k') | lib/src/prism/components/prism-ocaml.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.objectivec=Prism.languages.extend("c",{keyword:/(\b(asm|typeof|i nline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|flo at|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch |typedef|union|unsigned|void|volatile|while|in|self|super)\b)|((?=[\w|@])(@inter face|@end|@implementation|@protocol|@class|@public|@protected|@private|@property |@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b)/,string:/(?:("|' )([^\n\\\1]|\\.|\\\r*\n)*?\1)|(@"([^\n\\"]|\\.|\\\r*\n)*?")/,operator:/[-+]{1,2} |!=?|<{1,2}=?|>{1,2}=?|\->|={1,2}|\^|~|%|&{1,2}|\|?\||\?|\*|\/|@/}); 1 Prism.languages.objectivec=Prism.languages.extend("c",{keyword:/\b(asm|typeof|in line|auto|break|case|char|const|continue|default|do|double|else|enum|extern|floa t|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch| typedef|union|unsigned|void|volatile|while|in|self|super)\b|(@interface|@end|@im plementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch| @finally|@throw|@synthesize|@dynamic|@selector)\b/,string:/("|')(\\(?:\r\n|[\s\S ])|(?!\1)[^\\\r\n])*\1|@"(\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,operator:/-[->]?|\+\+ ?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/});
OLDNEW
« no previous file with comments | « lib/src/prism/components/prism-objectivec.js ('k') | lib/src/prism/components/prism-ocaml.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698