Skip to content

Commit

Permalink
Fix links to demo files
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlRaymond committed Aug 22, 2015
1 parent 3be030e commit bad052e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ If you are scanning credit cards like Visa, MasterCard, or American Express, the
the plugin that can recognize those formats. A built-in generic parser will parse up to three lines of data.

# Sample Pages
The sample page [demo-simple.html](demo.html) shows a basic example of using the plugin with the builit-in parsers.
The sample page [demo-simple.html](demo-simple.html) shows a basic example of using the plugin with the builit-in parsers.

The plugin defines four custom events which are fired during the scanning process. They are
`scanstart.cardswipe`, `scanend.cardswipe`, `success.cardswipe`, and `failure.cardswipe`.
You can bind listeners to these events to update your page's user interface to provide visual feedback
about the scan. The `success.cardswipe` event handler will receive two parameters, the `event` object
and the scanned data. This is the same data that is passed to the `complete` callback. The callback
is invoked first, and then the event is fired. The sample page [demo-events.html](events.html) shows an example
is invoked first, and then the event is fired. The sample page [demo-events.html](demo-events.html) shows an example
of using event listeners.

If you have trouble using your scanner and cards with the sample pages, try scanning a card into a
Expand Down

0 comments on commit bad052e

Please sign in to comment.