gbiobob / ED3D-Galaxy-Map

Elite: Dangerous 3D map visualiser API (build with WebGL)

Home Page:https://wiki.ed-board.net/en/map/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Put ed3dmap.js code into IIFE

bpkennedy opened this issue · comments

Lots of global vars and functions right now, making it difficult to truly "refresh" or "destroy" (a la angular directive).

I will start working on a PR to move the code into an IIFE.