mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 12:34:47 -04:00
Cleans code.
This commit is contained in:
parent
fbfbcd0439
commit
1be5e121b3
1 changed files with 1 additions and 8 deletions
|
@ -1,12 +1,5 @@
|
||||||
|
|
||||||
modulejs.define('core/langs', ['config', '_'], function (config, _) {
|
modulejs.define('core/langs', ['config', '_'], function (config, _) {
|
||||||
|
|
||||||
var langs = {};
|
return _.extend({}, config.langs);
|
||||||
|
|
||||||
_.each(_.extend({}, config.langs), function (trans, lang) {
|
|
||||||
|
|
||||||
langs[lang] = trans;
|
|
||||||
});
|
|
||||||
|
|
||||||
return langs;
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue