react-jw-player
Version:
A React component for launching JW Player instances on the client.
16 lines (13 loc) • 353 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
function getCurriedOnLoad(existingScript, callback) {
var previousOnload = existingScript.onload || function () {};
var curriedOnLoad = function curriedOnLoad() {
previousOnload();
callback();
};
return curriedOnLoad;
}
exports.default = getCurriedOnLoad;
;