Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix up the module_active? code #230

Open
qq99 opened this issue May 29, 2014 · 0 comments
Open

Fix up the module_active? code #230

qq99 opened this issue May 29, 2014 · 0 comments
Labels

Comments

@qq99
Copy link
Owner

qq99 commented May 29, 2014

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

This doesn't function properly:

window.events.on "sectionActive:#{@module.section}", =>
return if !@$el.is(":visible")
if !@editorsInitialized
@refreshIframe()
@initializeEditors()
@editorsInitialized = true

  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!!! 💢

@qq99 qq99 added the bug label May 29, 2014
@qq99 qq99 changed the title Fix up the module active? code Fix up the module_active? code May 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant