You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Указанное подключение в readme неверное, метод .use у объекта Racer передает в качестве первого аргумента не экземпляр Backend (или store), а указатель на себя. Сам Racer не имеет ссылок на создаваемые им экземпляры Backend, только его прототип.
В итоге получилось подключить данный модуль только так:
sharedbAccess = require "sharedb-access"
new sharedbAccess(store, options)
The text was updated successfully, but these errors were encountered:
Указанное подключение в readme неверное, метод .use у объекта Racer передает в качестве первого аргумента не экземпляр Backend (или store), а указатель на себя. Сам Racer не имеет ссылок на создаваемые им экземпляры Backend, только его прототип.
В итоге получилось подключить данный модуль только так:
The text was updated successfully, but these errors were encountered: