Can I use a protocol-less URL when configuring raven-js?

I’ve been trying to use protocol-less URLs wherever possible to avoid mixed-content issues. Is this OK to do with Raven?

<script>Raven.config('//xxx@sentry.io/yyy').install()</script>

Thanks!