Commit Graph

4 Commits

Author SHA1 Message Date
Henrik Ingo
e92e02ccb4 Make impress-console-button actually clickable (#651)
Changed the onclick handler to trigger the impress:console:open event
and not use the impressConsole() global function any more. The latter
is considered deprecated now that impressConsole is integrated into
impress.js itself.

Also catch some errors that appear in event handlers when the target
for the click event was immediately removed from DOM.

Fixes #651
2018-01-01 15:05:55 +02:00
Blaine Carter
cd499ed8cf Fixed the link to "extra addons" in the plugins README (#647)
* Fixed the link to extra addons. It was 404, now it's linked to https://github.com/impress/impress-extras

* Added new sentence describing how to use extra addons.
2017-12-11 13:04:01 +02:00
Henrik Ingo
f7f217114e Add example of a plugin capturing the impress:init event to plugin README 2017-11-05 19:18:32 +02:00
Henrik Ingo
0dc8b43650 Introduce plugin framework
* Source files are under src/
* js/impress.js is now generated, but remains part of the repo (so it just works)
* npm run build
* build.js uses buildify node module
* Break out navigation and resize plugins from core src/impress.js file
2017-09-25 03:01:58 +03:00