You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
wrong angular.js URL in the conceptual overview #1599
Effectively there is a problem since the naming of files changed in 1.0.2 / 1.1.0. I guess that those links should be changed to point to the CDN anyway. Fortunately jsFIddle / plunker still works OK but the issue is still pretty ugly for people copying & pasting code.
@IgorMinar Would the change in the src/bootstrap/bootstrap-prettify.js to point to the CDN here would do the trick? This might be a problem if there is a need to host several versions of doc (especially docs for unstable version where docs are not deployed to the CDN). Otherwise it probably needs to be changed on the server as I can see that there is a redirect rule for previous versions.
http://code.angularjs.org/angular-1.0.3.min.js now tries to reach http://code.angularjs.org/1.0.3/angular-1.0.3.min.js but this file doesn't exist. It should be http://code.angularjs.org/1.0.3/angular.min.js (without the version).
Activity
pkozlowski-opensource commentedon Nov 23, 2012
Effectively there is a problem since the naming of files changed in 1.0.2 / 1.1.0. I guess that those links should be changed to point to the CDN anyway. Fortunately jsFIddle / plunker still works OK but the issue is still pretty ugly for people copying & pasting code.
@IgorMinar Would the change in the
src/bootstrap/bootstrap-prettify.jsto point to the CDN here would do the trick? This might be a problem if there is a need to host several versions of doc (especially docs for unstable version where docs are not deployed to the CDN). Otherwise it probably needs to be changed on the server as I can see that there is a redirect rule for previous versions.chore(bootstrap-prettify): update urls to code.angularjs.org
IgorMinar commentedon Dec 5, 2012
I updated bootstrap-prettify to correctly generate urls to code.angularjs.org, CDN is just not worth the hassle in this case.
JoanZapata commentedon Dec 5, 2012
http://code.angularjs.org/angular-1.0.3.min.jsnow tries to reachhttp://code.angularjs.org/1.0.3/angular-1.0.3.min.jsbut this file doesn't exist. It should behttp://code.angularjs.org/1.0.3/angular.min.js(without the version).IgorMinar commentedon Dec 5, 2012
fyi the doc will be updated with the next release.
JoanZapata commentedon Dec 5, 2012
Oh I see, thanks! :)
chore(bootstrap-prettify): update urls to code.angularjs.org