Closed amsross closed 11 years ago
Allows the resource option to be set in the constructor as a function. The required return value must be an array.
resource
resources: function() { return ['resource 1', 'resource 2']; },
resources: function() { $.ajax(...) .success( function(data) { // some sort of logic return preppedData; }); },
This should solve Issue #8.
See #8 for example code of how to do this with existing code.
Allows the
resource
option to be set in the constructor as a function. The required return value must be an array.This should solve Issue #8.