From 1ab9120f856901f5cca56ca8947985628221b583 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 29 Apr 2025 23:22:17 -0400 Subject: [PATCH] angularjs: fix init logic The run_prettify.js link hasn't worked for years, so updae it to the current cdn we use in other pages. The styleguide.js link has always been broken. Fixing that requires tweaking how the TOC works. We drop the static one in favor of the dynamic (like other styleguides), and drop the custom setting so all links open in the current tab (like other styleguides). --- angularjs-google-style.html | 39 ++++++------------------------------- 1 file changed, 6 insertions(+), 33 deletions(-) diff --git a/angularjs-google-style.html b/angularjs-google-style.html index 3538a61..6ca190b 100644 --- a/angularjs-google-style.html +++ b/angularjs-google-style.html @@ -3,19 +3,21 @@ - + + - - + Google's AngularJS Style Guide - +

An AngularJS Style Guide for Closure Users at Google

+ +

This is the external version of a document that was primarily written for Google engineers. It describes a recommended style for AngularJS apps that use Closure, as used internally at Google. Members of the broader AngularJS community should feel free to apply @@ -42,35 +44,6 @@ Javascript, the Good Parts as a counter.)

-
1 Angular Language Rules
- -
2 Angular Style Rules
- -
3 Angular Tips, Tricks, and Best Practices
- - -
4 Best practices links and docs
-

1 Angular Language Rules

Manage dependencies with Closure's goog.require and goog.provide