From c085fd02067ab96fe921d1bb6c5f04da2b1497fc Mon Sep 17 00:00:00 2001 From: Fredrik Roubert Date: Mon, 12 Nov 2012 15:33:47 +0000 Subject: [PATCH] JS: Fix automatically fixable lint errors. Review URL: https://codereview.appspot.com/6813087 --- javascript/i18n/phonenumbers/asyoutypeformatter.js | 3 ++- javascript/i18n/phonenumbers/asyoutypeformatter_test.js | 2 +- javascript/i18n/phonenumbers/phonenumberutil.js | 2 +- javascript/i18n/phonenumbers/phonenumberutil_test.js | 4 ++-- javascript/i18n/phonenumbers/regioncodefortesting.js | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/javascript/i18n/phonenumbers/asyoutypeformatter.js b/javascript/i18n/phonenumbers/asyoutypeformatter.js index 4ee983b80..52952a416 100644 --- a/javascript/i18n/phonenumbers/asyoutypeformatter.js +++ b/javascript/i18n/phonenumbers/asyoutypeformatter.js @@ -1,6 +1,6 @@ /** * @license - * Copyright (C) 2010 The Libphonenumber Authors + * Copyright (C) 2010 The Libphonenumber Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -199,6 +199,7 @@ i18n.phonenumbers.AsYouTypeFormatter = function(regionCode) { */ i18n.phonenumbers.AsYouTypeFormatter.SEPARATOR_BEFORE_NATIONAL_NUMBER_ = ' '; + /** * @const * @type {i18n.phonenumbers.PhoneMetadata} diff --git a/javascript/i18n/phonenumbers/asyoutypeformatter_test.js b/javascript/i18n/phonenumbers/asyoutypeformatter_test.js index 49363d86a..3a493f611 100644 --- a/javascript/i18n/phonenumbers/asyoutypeformatter_test.js +++ b/javascript/i18n/phonenumbers/asyoutypeformatter_test.js @@ -1,6 +1,6 @@ /** * @license - * Copyright (C) 2010 The Libphonenumber Authors + * Copyright (C) 2010 The Libphonenumber Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/javascript/i18n/phonenumbers/phonenumberutil.js b/javascript/i18n/phonenumbers/phonenumberutil.js index 4beca2bb5..46f435860 100644 --- a/javascript/i18n/phonenumbers/phonenumberutil.js +++ b/javascript/i18n/phonenumbers/phonenumberutil.js @@ -1,6 +1,6 @@ /** * @license - * Copyright (C) 2010 The Libphonenumber Authors + * Copyright (C) 2010 The Libphonenumber Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/javascript/i18n/phonenumbers/phonenumberutil_test.js b/javascript/i18n/phonenumbers/phonenumberutil_test.js index 83a86f64f..c8ccb63d6 100644 --- a/javascript/i18n/phonenumbers/phonenumberutil_test.js +++ b/javascript/i18n/phonenumbers/phonenumberutil_test.js @@ -1,6 +1,6 @@ /** * @license - * Copyright (C) 2010 The Libphonenumber Authors + * Copyright (C) 2010 The Libphonenumber Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -903,7 +903,7 @@ function testFormatWithCarrierCode() { phoneUtil.formatNationalNumberWithCarrierCode(US_NUMBER, '15')); // Invalid country code should just get the NSN. assertEquals('12345', phoneUtil.formatNationalNumberWithCarrierCode( - UNKNOWN_COUNTRY_CODE_NO_RAW_INPUT, '89')); + UNKNOWN_COUNTRY_CODE_NO_RAW_INPUT, '89')); } function testFormatWithPreferredCarrierCode() { diff --git a/javascript/i18n/phonenumbers/regioncodefortesting.js b/javascript/i18n/phonenumbers/regioncodefortesting.js index 5327f39f0..7fa400e46 100644 --- a/javascript/i18n/phonenumbers/regioncodefortesting.js +++ b/javascript/i18n/phonenumbers/regioncodefortesting.js @@ -1,6 +1,6 @@ /** * @license - * Copyright (C) 2011 The Libphonenumber Authors + * Copyright (C) 2011 The Libphonenumber Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.