spf13 / kaiju

Open source discussion server
Apache License 2.0
113 stars 9 forks source link

Uncaught ReferenceError: Kaiju is not defined #4

Open thomasmodeneis opened 9 years ago

thomasmodeneis commented 9 years ago

When executing the demo first I had the following error:

Uncaught ReferenceError: $ is not defined

I fixed this by adding jquery:

Then now I'm having Uncaught ReferenceError: Kaiju is not defined.

thomasmodeneis commented 9 years ago

I fixed this by adding

if (typeof exports != 'undefined') { exports.Kaiju = Kaiju; } if (typeof window != 'undefined') { window.Kaiju = Kaiju; }

to the end of the client.js file and running make on the ui.

spf13 commented 9 years ago

@thomasmodeneis

I'm not doing much with this project right now. I still have really high hopes for it, but realistically I don't have a lot of time to devote to it at the moment. I'm hoping that changes in the future.

I'll make you an admin so you can feel free to make this and other improvements. I'm happy to help anywhere you need it.