PageRenderTime 17ms CodeModel.GetById 15ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/war/src/main/webapp/skins/mobile/js/l10n.js

http://github.com/b3log/b3log-solo
JavaScript | 1 lines | 1 code | 0 blank | 0 comment | 0 complexity | d64dc5dca841a048946621b935e540a3 MD5 | raw file
Possible License(s): Apache-2.0, LGPL-2.1
1function convertEntities(b){var d,a;d=function(c){if(/&[^;]+;/.test(c)){var f=document.createElement("div");f.innerHTML=c;return !f.firstChild?c:f.firstChild.nodeValue}return c};if(typeof b==="string"){return d(b)}else{if(typeof b==="object"){for(a in b){if(typeof b[a]==="string"){b[a]=d(b[a])}}}}return b};