eyeseast / ulysses-js

A tool for telling stories with maps.
https://eyeseast.github.io/ulysses-js/
MIT License
25 stars 0 forks source link

Basic plugin API #9

Closed eyeseast closed 3 years ago

eyeseast commented 3 years ago

Add plugins in one of two ways:

// at initialization
const story = new Ulysses({ map, steps, plugins: [func, func] })

// later, with .use()
story.use(func).use(func)

Closes #1