Browse files

fix links to Javascript guide

  • Loading branch information...
1 parent 70d6b7d commit 0cb4617e4cd150b1312ab90549b31e208aaccb8d @MilanLempera MilanLempera committed Jun 22, 2016
Showing with 3 additions and 3 deletions.
  1. +3 −3 angularjs-google-style.html
View
6 angularjs-google-style.html
@@ -21,14 +21,14 @@ <h1 class="external">An AngularJS Style Guide for Closure Users at Google</h1>
(or not apply) these recommendations, as relevant to their own use cases.</p>
<p class="external">This document describes style for AngularJS apps in google3. This guide
- supplements and extends the <a href="https://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml">
+ supplements and extends the <a href="https://google.github.io/styleguide/javascriptguide.xml">
Google JavaScript Style Guide</a>.
</p>
<p><b>Style Note</b>: Examples on the AngularJS external webpage, and many external apps, are
written in a style that freely uses closures, favors functional inheritance, and does not often use
<a class="external"
- href="https://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml?showone=JavaScript_Types#JavaScript_Types">
+ href="https://google.github.io/styleguide/javascriptguide.xml?showone=JavaScript_Types#JavaScript_Types">
JavaScript types</a>. Google follows a more rigorous Javascript style to support JSCompiler
optimizations and large code bases - see the javascript-style mailing list.
This is not an Angular-specific issue, and is not discussed further in this style guide.
@@ -152,7 +152,7 @@ <h3 id="compilerflags">JSCompiler Flags</h3>
<h3 id="controllers">Controllers and Scopes</h3>
<p>Controllers are classes. Methods should be defined on MyCtrl.prototype.
- See <a href="https://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml?showone=Method_and_property_definitions#Method_and_property_definitions">
+ See <a href="https://google.github.io/styleguide/javascriptguide.xml?showone=Method_and_property_definitions#Method_and_property_definitions">
the JavaScript style guide</a></p>
<p>Google Angular applications should use the <b>'controller as'</b> style to export the controller

0 comments on commit 0cb4617

Please sign in to comment.