[Pkg-javascript-commits] [pdf.js] 87/141: Fixes typo in the sample code

David Prévot taffit at moszumanska.debian.org
Sat Apr 19 22:40:33 UTC 2014


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

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

commit 7363456707d7bd41336b5b18e09b23d2ce1d8fb3
Author: Yury Delendik <ydelendik at mozilla.com>
Date:   Thu Apr 10 19:55:47 2014 -0500

    Fixes typo in the sample code
---
 docs/contents/examples/index.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/contents/examples/index.md b/docs/contents/examples/index.md
index e4d1ed2..03b656d 100644
--- a/docs/contents/examples/index.md
+++ b/docs/contents/examples/index.md
@@ -20,7 +20,7 @@ PDFJS.getDocument('helloworld.pdf')
 Remember though that PDF.js uses promises, so the above will return a promise that is resolved with the document object.
 
 ```js
-PDFJS.getDocument('helloworld.pdf').then(function(pdf)) {
+PDFJS.getDocument('helloworld.pdf').then(function(pdf) {
   // you can now use *pdf* here
 });
 ```

-- 
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