Discussions

Ask a Question
Back to All

Does not seem to work with Stripe

The following code doesn't work:
$ocLazyLoad.load('https://js.stripe.com/v2/').then(function ()
console.log('stripe loaded');
});

It doesn't load the script at that location and doesn't reach the console.log line. It seems something about the URL breaks the script loading. Any ideas? Thanks for the great library!