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

Side by Side Diff: lib/src/prism/plugins/file-highlight/prism-file-highlight.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
OLDNEW
1 (function () { 1 (function () {
2 » if (!self.Prism || !self.document || !document.querySelector) { 2 » if (typeof self === 'undefined' || !self.Prism || !self.document || !doc ument.querySelector) {
3 return; 3 return;
4 } 4 }
5 5
6 self.Prism.fileHighlight = function() { 6 self.Prism.fileHighlight = function() {
7 7
8 var Extensions = { 8 var Extensions = {
9 'js': 'javascript', 9 'js': 'javascript',
10 'html': 'markup', 10 'html': 'markup',
11 'svg': 'markup', 11 'svg': 'markup',
12 'xml': 'markup', 12 'xml': 'markup',
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 xhr.send(null); 68 xhr.send(null);
69 }); 69 });
70 } 70 }
71 71
72 }; 72 };
73 73
74 self.Prism.fileHighlight(); 74 self.Prism.fileHighlight();
75 75
76 })(); 76 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698