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

Side by Side Diff: polymer_0.4.0/bower_components/google-code-prettify/examples/quine.html

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 months 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8" /> 4 <meta charset="utf-8" />
5 <title>Making Quines Prettier</title> 5 <title>Making Quines Prettier</title>
6 <!-- The defer is not necessary for autoloading, but is necessary for the 6 <!-- The defer is not necessary for autoloading, but is necessary for the
7 script at the bottom to work as a Quine. --> 7 script at the bottom to work as a Quine. -->
8 <script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify .js?autoload=true&amp;skin=sunburst&amp;lang=css" defer="defer"></script> 8 <script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify .js?autoload=true&amp;skin=sunburst&amp;lang=css" defer="defer"></script>
9 <style>.operative { font-weight: bold; border:1px solid yellow }</style> 9 <style>.operative { font-weight: bold; border:1px solid yellow }</style>
10 </head> 10 </head>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // Highlight the operative parts: 46 // Highlight the operative parts:
47 quineHtml = quineHtml.replace( 47 quineHtml = quineHtml.replace(
48 /&lt;script src[\s\S]*?&gt;&lt;\/script&gt;|&lt;!--\?[\s\S]*?--&gt;|&lt;pre\ b[\s\S]*?&lt;\/pre&gt;/g, 48 /&lt;script src[\s\S]*?&gt;&lt;\/script&gt;|&lt;!--\?[\s\S]*?--&gt;|&lt;pre\ b[\s\S]*?&lt;\/pre&gt;/g,
49 '<span class="operative">$&</span>'); 49 '<span class="operative">$&</span>');
50 50
51 document.getElementById("quine").innerHTML = quineHtml; 51 document.getElementById("quine").innerHTML = quineHtml;
52 })(); 52 })();
53 //]]> 53 //]]>
54 </script></body> 54 </script></body>
55 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698