From 3c3c96b2c3d8849cd4bb3ee2bf5e33e9a7ebedd1 Mon Sep 17 00:00:00 2001 From: Michael Zhou Date: Mon, 28 Mar 2016 15:05:44 -0400 Subject: [PATCH] Remove trailing whitespaces in JavaScript Style Guide --- javascriptguide.xml | 80 ++++++++++++++++++++++----------------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/javascriptguide.xml b/javascriptguide.xml index a33ae48..b14d7bf 100644 --- a/javascriptguide.xml +++ b/javascriptguide.xml @@ -2,10 +2,10 @@

- + Revision 2.93

- +
Aaron Whyte
Bob Jervis
@@ -35,23 +35,23 @@

JavaScript is the main client-side scripting language used - + by many of Google's open-source projects. This style guide is a list of dos and don'ts for JavaScript programs.

- - - - - + + + + +
- - + + @@ -100,7 +100,7 @@ considered immutable only if they do not demonstrate observable state change. This is not enforced by the compiler.

- + @@ -759,7 +759,7 @@

Optional and variable arguments can also be specified in @param annotations. Although either convention is acceptable to the compiler, using both together is preferred.

- +
@@ -801,8 +801,8 @@ ... }; - - + +

Many JavaScript libraries, including the Closure Library @@ -826,7 +826,7 @@ parent namespace know what you are doing. If you start a project that creates hats for sloths, make sure that the Sloth team knows that you're using sloth.hats.

- +

"External code" is code that comes from outside your codebase, @@ -867,8 +867,8 @@ goog.exportSymbol('foo.hats.BowlerHat', googleyhats.BowlerHat); - - + +

Use local aliases for fully-qualified types if doing so improves @@ -937,7 +937,7 @@ and should contain no punctuation except for - or _ (prefer - to _).

- + @@ -1807,9 +1807,9 @@ - + null - + @@ -1821,9 +1821,9 @@ - + undefined - + @@ -2099,7 +2099,7 @@ MyClass is initialized with a null value, it will issue a warning.

- +

Optional parameters to functions may be undefined at runtime, so if they are assigned to class properties, those properties must be @@ -2329,7 +2329,7 @@

- + A copyright notice and author information are optional. File overviews are generally recommended whenever a file consists of more than a single class definition. The top level comment is @@ -2346,7 +2346,7 @@ */ - + @@ -2416,7 +2416,7 @@ @author - + @author username@google.com (first last) @@ -2431,11 +2431,11 @@ Document the author of a file or the owner of a test, generally only used in the @fileoverview comment. - + - + @code @@ -2728,11 +2728,11 @@

Declares an - + externs file.

- + @@ -2891,9 +2891,9 @@ - - + + @noalias @@ -3204,7 +3204,7 @@ Suppresses warnings from tools. Warning categories are separated by | or ,. - + @@ -3303,12 +3303,12 @@ - + - +

You may also see other types of JSDoc annotations in third-party @@ -3386,15 +3386,15 @@

Required - +

Use of JS compilers such as the Closure Compiler is required for all customer-facing code.

- - + + @@ -3584,7 +3584,7 @@ - +

@@ -3615,7 +3615,7 @@ Revision 2.93

- +
Aaron Whyte
Bob Jervis