Merge pull request #148 from Angular-cz/gh-pages

fix links to Javascript guide
This commit is contained in:
Elliot Glaysher 2016-06-30 13:15:21 -07:00 committed by GitHub
commit bb4780e382

View File

@ -21,14 +21,14 @@
(or not apply) these recommendations, as relevant to their own use cases.</p> (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 <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>. Google JavaScript Style Guide</a>.
</p> </p>
<p><b>Style Note</b>: Examples on the AngularJS external webpage, and many external apps, are <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 written in a style that freely uses closures, favors functional inheritance, and does not often use
<a class="external" <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 JavaScript types</a>. Google follows a more rigorous Javascript style to support JSCompiler
optimizations and large code bases - see the javascript-style mailing list. 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. This is not an Angular-specific issue, and is not discussed further in this style guide.
@ -152,7 +152,7 @@ goog.provide('hello.versions.Versions');
<h3 id="controllers">Controllers and Scopes</h3> <h3 id="controllers">Controllers and Scopes</h3>
<p>Controllers are classes. Methods should be defined on MyCtrl.prototype. <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> the JavaScript style guide</a></p>
<p>Google Angular applications should use the <b>'controller as'</b> style to export the controller <p>Google Angular applications should use the <b>'controller as'</b> style to export the controller