I didnβt have to intercept the link for a while, but when jquery undefined errors appeared, I noticed that the link "http:" or "https:" was missing in the CDN script url. This explicitly creates a broken link. I am wondering if this is intentional or a bug in the Google part. Any insight would be great.
Example: <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.4/angular.min.js"></script>
Should it be ?: <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.4/angular.min.js"></script>
https://developers.google.com/speed/libraries/devguide
source share