qq99 / echoplexus

Socket.io powered chat, JavaScript REPL, whiteboard, and WebRTC calls
Other
394 stars 53 forks source link

Fix up the module_active? code #230

Open qq99 opened 10 years ago

qq99 commented 10 years ago

Right now it's a huge hack, want to slap my past self

This doesn't function properly: https://github.com/qq99/echoplexus/blob/90878bfe9ba7f2c2f8a66fe5351b84bd89aea811/src/client/modules/code/client.js.coffee#L40-L46

  1. Go to /
  2. Go to code
  3. Go to channel /foo
  4. Code panel isn't alive due to the above's deficiencies

Anything that fires / listens to that event there is terrible code!!! :anger: