Closed MrFlick closed 8 years ago
The wiki for Data Sources has been updated to show the more simple Data Source creation.
Looks great. The updates to LD in particular made it so in our example of adding panels/analyses (on plot_builder.html
) we no longer had to define a new LD source for each new analysis added, so I updated the example to reflect that. Merging!
This is a collection of smaller commits to tidy up the data source work. It's probably easier to look at each commit individually. The major revisions include:
getURL
is not a required method for data.sources, the default caching behavior was modified to make sure it does return valid values before using it as the cacheKeyKnownDataSources
was converted from a simple global array to a proper singleton collection. This should make it easier to work with the default data sourcesData.Source.extend()
method now better allows for sub-classing existing data sources (preserving functions found on prototypes that might not be the base data source class)