Skip to content

Commit

Permalink
Readme sample code fix
Browse files Browse the repository at this point in the history
  • Loading branch information
msalsbery committed Jan 23, 2015
1 parent c10e0f3 commit 321c465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -90,7 +90,7 @@ Your hook event handler methods can control the event handling behavior in one o

var viewer = OpenSeadragon({...});

viewerInputHook = viewer.addViewerInputHook({hooks: [
viewer.addViewerInputHook({hooks: [
{tracker: 'viewer', handler: 'scrollHandler', hookHandler: onViewerScroll},
{tracker: 'viewer', handler: 'clickHandler', hookHandler: onViewerClick}
]});
Expand Down

0 comments on commit 321c465

Please sign in to comment.