Skip to content

v2.1.0

Latest
Compare
Choose a tag to compare
@the-illarionov the-illarionov released this 21 Apr 22:45
· 5 commits to master since this release
226d967

Change API.

Before:

new TheSupersonicPlugin({
  hooks: { .. },
  drivers: {
    'driver-id': {
      start: document.querySelector('.start'),
     ...

After:

new TheSupersonicPlugin(
  [
    {
      start: '.start',
      ... 
    },
  ],
  {
    hooks: { ... }
  }
)