tcga / Toolbox

Analysis environment for The Cancer Genome Atlas (TCGA)
http://tcga.github.com
5 stars 5 forks source link

Keep track of which scripts and data are loaded #5

Closed drobbins closed 12 years ago

drobbins commented 12 years ago

e.g. in a TCGA.Modules and TCGA.Data object, a'la imagejs.

Multiple calls to load the same URL should not (by default ) reload the module or data.

loadScript and get should provide the option to force reload of a module or data file.

drobbins commented 12 years ago

Done in cfbf26780d5943dd1e71ab395557bcb6d0402dc4.

Won't do data, for now: just return the data and let the browser cache make it fast if it's been loaded before. This prevents scripts from messing with the "canonical" form of data.