[Pkg-javascript-commits] [pdf.js] 336/414: Update Webpack and Browserify example README files

David Prévot taffit at moszumanska.debian.org
Tue Jun 28 17:12:37 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit b293d1caf5f331f01283b7df4579cc7ea641379d
Author: Tim van der Meij <timvandermeij at gmail.com>
Date:   Wed Apr 6 18:36:41 2016 +0200

    Update Webpack and Browserify example README files
    
    Previously the commands were not properly parsed as such by GitHub
    because they need to be indented with four spaces.
    
    Furthermore, address some minor textual nits.
---
 examples/browserify/README.md | 18 +++++++++---------
 examples/webpack/README.md    | 12 ++++++------
 2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/examples/browserify/README.md b/examples/browserify/README.md
index 4a6d7c2..858e228 100644
--- a/examples/browserify/README.md
+++ b/examples/browserify/README.md
@@ -1,25 +1,25 @@
 ## Overview
 
-Example to demonstrate PDF.js library usage with browserify.
+Example to demonstrate PDF.js library usage with Browserify.
 
 ## Getting started
 
 Build project and install the example dependencies:
 
-  $ gulp dist
-  $ cd examples/browserify
-  $ npm install
+    $ gulp dist
+    $ cd examples/browserify
+    $ npm install
 
-To build browserify bundles, run `gulp build`.  If you are running
+To build Browserify bundles, run `gulp build`. If you are running
 a web server, you can observe the build results at
 http://localhost:8888/examples/browserify/index.html
 
 See main.js, worker.js and gulpfile.js files. Please notice that PDF.js
 packaging requires packaging of the main application and PDF.js worker code,
-and the workerSrc path shall be set to the latter file.
+and the `workerSrc` path shall be set to the latter file.
 
 Alternatives to the gulp commands (without compression) are:
 
-  $ mkdir -p ../../build/browserify
-  $ node_modules/.bin/browserify main.js -o ../../build/browserify/bundle.js
-  $ node_modules/.bin/browserify worker.js -o ../../build/browserify/pdf.worker.bundle.js
+    $ mkdir -p ../../build/browserify
+    $ node_modules/.bin/browserify main.js -o ../../build/browserify/bundle.js
+    $ node_modules/.bin/browserify worker.js -o ../../build/browserify/pdf.worker.bundle.js
diff --git a/examples/webpack/README.md b/examples/webpack/README.md
index 318a4d7..21b144c 100644
--- a/examples/webpack/README.md
+++ b/examples/webpack/README.md
@@ -1,18 +1,18 @@
 ## Overview
 
-Example to demonstrate PDF.js library usage with webpack.
+Example to demonstrate PDF.js library usage with Webpack.
 
 ## Getting started
 
 Build project and install the example dependencies:
 
-  $ gulp dist
-  $ cd examples/webpack
-  $ npm install
+    $ gulp dist
+    $ cd examples/webpack
+    $ npm install
 
-To build webpack bundles, run `node_modules/.bin/webpack`.  If you are running
+To build Webpack bundles, run `node_modules/.bin/webpack`. If you are running
 a web server, you can observe the build results at
 http://localhost:8888/examples/webpack/index.html
 
 See main.js and webpack.config.js files. Please notice that PDF.js packaging
-requires 'entry' loader.
+requires the `entry` loader.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list