Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 1162x 1162x 5x | 'use strict';
define([
'underscore',
'pim/base-fetcher'
],
function (
_,
BaseFetcher
) {
return BaseFetcher.extend({
/**
* Fetch attributes available as axes for the given family
*
* @param {String} familyCode
*
* @return {Promise}
*/
fetchAvailableAxes: function (familyCode) {
return this.getJSON(
this.options.urls.available_axes,
{code: familyCode}
)
.then(_.identity)
.promise();
}
});
});
|