From 16b26cd72349b86d922d03911073a79159ae41c2 Mon Sep 17 00:00:00 2001 From: chrisjshull Date: Wed, 23 Oct 2013 18:02:32 -0700 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eafa1a36..6bc2f843 100644 --- a/README.md +++ b/README.md @@ -196,7 +196,7 @@ parser.addListener("endfontface", function(event){ ``` ### `startpage` and `endpage` events -The `startpage` event fires when `@page` is encountered and the `endfontface` event fires just after the closing right brace (`}`) is encountered after `@page`. The `event` object has two properties: `id`, which is the page ID, and `pseudo`, which is the page pseudo class. Example: +The `startpage` event fires when `@page` is encountered and the `endpage` event fires just after the closing right brace (`}`) is encountered after `@page`. The `event` object has two properties: `id`, which is the page ID, and `pseudo`, which is the page pseudo class. Example: ```js parser.addListener("startpage", function(event){ console.log("Starting page with ID=" + event.id + " and pseudo=" + event.pseudo);