Joined January 2014
·

Mante Bridts

Hi Marc,

Could it be that there are some brackets missing? Something like this:
url: config.api.url + (_.isFunction(model.url) ? model.url() : model.url);

Otherwise, the url-option is set to the model.url (output from the function or the property, and nothing is prepended.

Achievements
1 Karma
0 Total ProTip Views