JBARiskManagement / MapPIG

Probably Isn't GIS; A desktop mapping interactivity platform
MIT License
3 stars 0 forks source link

Improve require for plugins #20

Closed JamesRamm closed 8 years ago

JamesRamm commented 8 years ago

To require the mapthing lib in plugins you currently need to specify the relative path to the js file, which can be horrendous. We could provide a global function ( or another solution) to make this easy @yitang

JamesRamm commented 8 years ago

A user can now just use mtRequire(filename) instead of the regular require function