liftoff / HumanInput

A JavaScript library for handling keyboard shortcuts and other human-generated events
Apache License 2.0
583 stars 25 forks source link

add support for server rendering #20

Open giladv opened 5 years ago

giladv commented 5 years ago

version: 1.1.15 rendering apps on the server is impossible because the lib is requiring window even before it was used/instantiated.

humaninput/lib/constants.js:31:33
ReferenceError: window is not defined

i think it should use the window provided in the constructor and only after creating an instance.

thanks

DavidVollmers commented 5 years ago

I am sorry to tell you this, but this Repository is abandoned.

I have two Issues opened since July 2018... I tried contacting the Owner of the Repository but he never answered.