TheSocialDigits / thesocialdigits-magento

Magento plugin for The Social Digits
2 stars 0 forks source link

datasource function in config.thesocialdigits.js #5

Closed rlindsgaard closed 12 years ago

rlindsgaard commented 12 years ago

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.