Currently the datasource callback function is defined and placed in config.thesocialdigits.js and appended to the data object that is given to initialise the api.
Altough it should be possible to write this directly in the json definition it has not been possible to achieve this result. Searching the web hints that it is possibly due to the mime type of the response.
This is currently a wontfix, but it would be cool to actually place the datasource code with the rest of the data definition.
Currently the datasource callback function is defined and placed in config.thesocialdigits.js and appended to the data object that is given to initialise the api.
Altough it should be possible to write this directly in the json definition it has not been possible to achieve this result. Searching the web hints that it is possibly due to the mime type of the response.
This is currently a wontfix, but it would be cool to actually place the datasource code with the rest of the data definition.