From 544e0db36774990b20797e7d06035392afb37b67 Mon Sep 17 00:00:00 2001 From: "naomib@google.com" Date: Thu, 13 Feb 2014 21:15:54 +0000 Subject: [PATCH] fixing a link to the (internal only) externs --- angularjs-google-style.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/angularjs-google-style.html b/angularjs-google-style.html index 6afce7a..cecb3fd 100644 --- a/angularjs-google-style.html +++ b/angularjs-google-style.html @@ -120,15 +120,11 @@ goog.provide('hello.versions.Versions'); Using a property of my.submoduleA prevents Closure presubmit failures complaining that the file is required but never used. Using the .name property avoids duplicating strings.

-

Use the provided Angular externs file

-

- //third_party/javascript/angular/v1_2:externs -

+

Use a common externs file

This maximally allows the JS compiler to enforce type safety in the presence of externally provided types from Angular, and means you don't have to worry about Angular vars being obfuscated - in a confusing way. If you come across any issues with the externs file, please alert the Angular - users group and create a CL if you would to address the problem.

+ in a confusing way.

Note to readers outside Google: the current externs file is located in an internal-to-Google directory, but an example can be found on github