| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | /* |
||
| 10 | getAcceptLanguages: function() { |
||
| 11 | if (API.promise) { |
||
| 12 | return API.api.i18n.getAcceptLanguages(); |
||
| 13 | } |
||
| 14 | else { |
||
| 15 | return new C_Promise(function(){ |
||
| 16 | API.extension.getAcceptLanguages((function(data){ |
||
| 17 | this.call_then(data); |
||
| 18 | }).bind(this)); |
||
| 19 | }); |
||
| 20 | } |
||
| 21 | }, |
||
| 22 | detectLanguage: function() { |
||
| 37 | }; |