Chromium Code Reviews| Index: polymer_1.0.4/bower_components/prism/plugins/highlight-keywords/prism-highlight-keywords.js |
| diff --git a/polymer_1.0.4/bower_components/prism/plugins/highlight-keywords/prism-highlight-keywords.js b/polymer_1.0.4/bower_components/prism/plugins/highlight-keywords/prism-highlight-keywords.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..58c9ad93ba51a544fd0aa515b31680be192e6fd5 |
| --- /dev/null |
| +++ b/polymer_1.0.4/bower_components/prism/plugins/highlight-keywords/prism-highlight-keywords.js |
| @@ -0,0 +1,14 @@ |
| +(function(){ |
| + |
| +if (!self.Prism) { |
| + return; |
| +} |
| + |
| +Prism.hooks.add('wrap', function(env) { |
| + if (env.type !== "keyword") { |
| + return; |
| + } |
| + env.classes.push('keyword-' + env.content); |
| +}); |
| + |
| +})(); |