Browse Source

JS: Fix automatically fixable lint errors.

Review URL: https://codereview.appspot.com/6813087
pull/567/head
Fredrik Roubert 13 years ago
committed by Mihaela Rosca
parent
commit
c085fd0206
5 changed files with 7 additions and 6 deletions
  1. +2
    -1
      javascript/i18n/phonenumbers/asyoutypeformatter.js
  2. +1
    -1
      javascript/i18n/phonenumbers/asyoutypeformatter_test.js
  3. +1
    -1
      javascript/i18n/phonenumbers/phonenumberutil.js
  4. +2
    -2
      javascript/i18n/phonenumbers/phonenumberutil_test.js
  5. +1
    -1
      javascript/i18n/phonenumbers/regioncodefortesting.js

+ 2
- 1
javascript/i18n/phonenumbers/asyoutypeformatter.js View File

@ -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}


+ 1
- 1
javascript/i18n/phonenumbers/asyoutypeformatter_test.js View File

@ -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.


+ 1
- 1
javascript/i18n/phonenumbers/phonenumberutil.js View File

@ -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.


+ 2
- 2
javascript/i18n/phonenumbers/phonenumberutil_test.js View File

@ -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() {


+ 1
- 1
javascript/i18n/phonenumbers/regioncodefortesting.js View File

@ -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.


Loading…
Cancel
Save