toloframework
Version:
Javascript/HTML/CSS compiler for Firefox OS or nodewebkit apps using modules in the nodejs style.
2 lines • 1.03 kB
JavaScript
require("$",function(r,o,n){n.config={name:'"toloframework"',description:'"Javascript/HTML/CSS compiler for Firefox OS or nodewebkit apps using modules in the nodejs style."',author:'"Tolokoban"',version:'"0.42.12"',major:"0",minor:"42",revision:"12",date:"2018-01-25T17:16:08.000Z",consts:{}};var e=null;n.lang=function(r){return void 0===r&&(window.localStorage&&(r=window.localStorage.getItem("Language")),r||(r=window.navigator.language)||(r=window.navigator.browserLanguage)||(r="fr"),r=r.substr(0,2).toLowerCase()),e=r,window.localStorage&&window.localStorage.setItem("Language",r),r},n.intl=function(r,o){var e,t,a,i,g,l,s,u=r[n.lang()],c=o[0];for(s in r)break;if(!s)return c;if(!u&&!(u=r[s]))return c;if(e=u[c],e||(u=r[s],e=u[c]),!e)return c;if(o.length>1){for(t="",g=0,a=0;a<e.length;a++)i=e.charAt(a),"$"===i?(t+=e.substring(g,a),a++,l=e.charCodeAt(a)-48,l<0||l>=o.length?t+="$"+e.charAt(a):t+=o[l],g=a+1):"\\"===i&&(t+=e.substring(g,a),a++,t+=e.charAt(a),g=a+1);t+=e.substr(g),e=t}return e}});
//# sourceMappingURL=$.js.map