| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 1 [ | 5 [ |
| 2 { | 6 { |
| 3 "namespace": "i18n", | 7 "namespace": "i18n", |
| 4 "types": [], | 8 "types": [], |
| 5 "functions": [ | 9 "functions": [ |
| 6 { | 10 { |
| 7 "name": "getAcceptLanguages", | 11 "name": "getAcceptLanguages", |
| 8 "type": "function", | 12 "type": "function", |
| 9 "description": "Gets the accept-languages of the browser. This is differ
ent from the locale used by the browser; to get the locale, use <code>window.nav
igator.language</code>.", | 13 "description": "Gets the accept-languages of the browser. This is differ
ent from the locale used by the browser; to get the locale, use <code>window.nav
igator.language</code>.", |
| 10 "parameters": [ | 14 "parameters": [ |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 ], | 54 ], |
| 51 "returns": { | 55 "returns": { |
| 52 "type": "string", | 56 "type": "string", |
| 53 "description": "Message localized for current locale." | 57 "description": "Message localized for current locale." |
| 54 } | 58 } |
| 55 } | 59 } |
| 56 ], | 60 ], |
| 57 "events": [] | 61 "events": [] |
| 58 } | 62 } |
| 59 ] | 63 ] |
| OLD | NEW |