I'm building D3 libraries to visualize data. The visualizations require the topojson Javascript library to manipulate geo shapes.
I want to include the topojson javascript library as a dependency in my custom libraries and right now I'm simply including it in the .info
file for the each library:
files[js][] = 'js/topojson.v0.min.js'
However, this adds the topojson file to <head>
section of the page more than once when I have several of these includes.
I want to be able to load the file once and use it in anyone of my D3 libraries. How do I do that?