Skip to content
This repository has been archived by the owner on May 21, 2018. It is now read-only.

Commit

Permalink
Fixed old API demo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolski committed Jul 9, 2015
1 parent 47d4150 commit 8cc0d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Creating a new Popcorn Editor instance is as easy as:
PopcornEditor.init('editor', '/path/to/PopcornEditor/editor.html');

// Create event handlers for when specific events happen in Popcorn Editor.
PopcornEditor.setSaveHandler(function (message) {
PopcornEditor.listen('save', function (message) {
console.log('New save data: ', message);
});
```
Expand Down

0 comments on commit 8cc0d45

Please sign in to comment.