Promise alternative

Promise alternative

Hi! I'm using promises but have to find a jQuery alternative to make it crossbrowser compatible.

How do I have to change that return new Promise(function(resolve)... ?

I'm at the very first time getting in contact with promises, no idea how to use a deferred object to get that running..

 return ABCREQUEST($.extend(config, { part: params.A }), apiParameter) .then(function (data) { return new Promise(function (resolve) { parseInfo(data, config, function (isOk, responseData) { resolve(itemBuild$(config, responseData)[0]); }); }); });