acuasi / ground-control-station

UAS Ground Station
12 stars 6 forks source link

js library location #12

Closed rayjanwilson closed 11 years ago

rayjanwilson commented 11 years ago

leaflet.js and now.js right now it's in assets/js/libs/

however looking at the folder structure, i would expect it to be in: assets/js/vendor since those are libraries not in our control.

also, should everything in assets/js/vendor be a git-submodule?

brucecrevensten commented 11 years ago

It's because we need to do some wrapping for leaflet.js and now.js. With the RequireJS shim we can almost certainly do the Now.js, but Leaflet is a bit funny, because we're using a plugin -- to hack around that, I just combined the minified Leaflet source with the plugin itself so that it has the right namespace.