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 | |
5 [ | 1 [ |
6 { | 2 { |
7 "namespace": "i18n", | 3 "namespace": "i18n", |
8 "types": [], | 4 "types": [], |
9 "functions": [ | 5 "functions": [ |
10 { | 6 { |
11 "name": "getAcceptLanguages", | 7 "name": "getAcceptLanguages", |
12 "type": "function", | 8 "type": "function", |
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>.", | 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>.", |
14 "parameters": [ | 10 "parameters": [ |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 ], | 50 ], |
55 "returns": { | 51 "returns": { |
56 "type": "string", | 52 "type": "string", |
57 "description": "Message localized for current locale." | 53 "description": "Message localized for current locale." |
58 } | 54 } |
59 } | 55 } |
60 ], | 56 ], |
61 "events": [] | 57 "events": [] |
62 } | 58 } |
63 ] | 59 ] |
OLD | NEW |