braintree-web
Version:
A suite of tools for integrating Braintree in the browser
17 lines (14 loc) • 339 B
JavaScript
;
var constants = require("../shared/constants");
var useMin = require("../../lib/use-min");
module.exports = function composeUrl(assetsUrl, componentId, isDebug) {
return (
assetsUrl +
"/web/" +
constants.VERSION +
"/html/hosted-fields-frame" +
useMin(isDebug) +
".html#" +
componentId
);
};