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

Unified Diff: bower_components/google-code-prettify/README.md

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 side-by-side diff with in-line comments
Download patch
Index: bower_components/google-code-prettify/README.md
diff --git a/bower_components/google-code-prettify/README.md b/bower_components/google-code-prettify/README.md
deleted file mode 100644
index 51e0fac4e39f6f81474d4ba1d510d20c2c5516d8..0000000000000000000000000000000000000000
--- a/bower_components/google-code-prettify/README.md
+++ /dev/null
@@ -1,54 +0,0 @@
-# Google Code Prettify
-
-Direct port of svn into git from http://google-code-prettify.googlecode.com/svn/trunk/
-
-## Install
-
-via [Bower](http://twitter.github.com/bower/)
-
- bower install google-code-prettify
-
-or [Yeoman](http://yeoman.io/)
-
- yeoman install google-code-prettify
-
-
-## Usage
-
-The prettify script is AMD compatible and can be used modularly. Here is an example of it in an AMD module:
-
-```javascript
-define(['jquery', 'prettify'], function($, prettify){
- var code = null;
- $('pre').addClass('prettyprint').each(function(idx, el){
- code = el.firstChild;
- code.innerHTML = prettify.prettyPrintOne(code.innerHTML);
- })
- );
-});
-```
-
-This version of google-code-prettify defines an anonymous module, which is more flexible. To allow your AMD loader to find google-code-prettify with a more convenient name, map a path to it as follows:
-
-```js
-// using RequireJS
-require.config({
- prettify: 'bower_components/google-code-prettify/prettify'
-});
-
-// using curl.js
-curl.config({
- prettify: 'bower_components/google-code-prettify/prettify'
-});
-```
-
-Or it may just be used in a global context like the following:
-
-```javascript
-(function(){
- $('pre').addClass('prettyprint');
- prettyPrint();
-})();
-```
-
-More information can be found in the original [README.html](http://google-code-prettify.googlecode.com/svn/trunk/README.html)
« no previous file with comments | « bower_components/google-code-prettify/README.html ('k') | bower_components/google-code-prettify/README-zh-Hans.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698