Skip to content

Commit

Permalink
Merge pull request google#148 from Angular-cz/gh-pages
Browse files Browse the repository at this point in the history
fix links to Javascript guide
  • Loading branch information
eglaysher authored Jun 30, 2016
2 parents c50d146 + 0cb4617 commit bb4780e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions angularjs-google-style.html
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bb4780e

Please sign in to comment.