Skip to content

Make org.polymaps explicitly global #76

Closed
akidee opened this Issue May 8, 2011 · 1 comment

1 participant

@akidee
akidee commented May 8, 2011

When wrapping polymaps in a closure - to make it available in Yabble (CommonJS module loader) -, org.polymaps is not available in the global namespace. Defining it as a local variable is not enough.
It should be done like that:
if (!window.org)window.org={}
if(!org.polymaps)org.polymaps={}
If you agree, I will send a patch.

@akidee
akidee commented May 10, 2011

See #77

@akidee akidee closed this May 10, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.