PATH:
usr
/
local
/
jetapps
/
frontend
/
jetbackup
/
libraries
/
angularjs-i18next
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).i18nextXHRBackend=e()}(this,function(){"use strict";function t(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var e=[],o=e.forEach,n=e.slice;function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t){return(r="function"==typeof Symbol&&"symbol"===i(Symbol.iterator)?function(t){return i(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":i(t)})(t)}function a(t,e){if(e&&"object"===r(e)){var o="",n=encodeURIComponent;for(var i in e)o+="&"+n(i)+"="+n(e[i]);if(!o)return t;t=t+(-1!==t.indexOf("?")?"&":"?")+o.slice(1)}return t}function s(t,e,o,n,i){n&&"object"===r(n)&&(i||(n._t=new Date),n=a("",n).slice(1)),e.queryStringParams&&(t=a(t,e.queryStringParams));try{var s;(s=XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("MSXML2.XMLHTTP.3.0")).open(n?"POST":"GET",t,1),e.crossDomain||s.setRequestHeader("X-Requested-With","XMLHttpRequest"),s.withCredentials=!!e.withCredentials,n&&s.setRequestHeader("Content-type","application/x-www-form-urlencoded"),s.overrideMimeType&&s.overrideMimeType("application/json");var l=e.customHeaders;if(l)for(var u in l)s.setRequestHeader(u,l[u]);s.onreadystatechange=function(){s.readyState>3&&o&&o(s.responseText,s)},s.send(n)}catch(t){console&&console.log(t)}}var l=function(){function e(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.init(t,o),this.type="backend"}var i,r,a;return i=e,(r=[{key:"init",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.services=t,this.options=function(t){return o.call(n.call(arguments,1),function(e){if(e)for(var o in e)void 0===t[o]&&(t[o]=e[o])}),t}(e,this.options||{},{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",allowMultiLoading:!1,parse:JSON.parse,crossDomain:!1,ajax:s})}},{key:"readMulti",value:function(t,e,o){var n=this.options.loadPath;"function"==typeof this.options.loadPath&&(n=this.options.loadPath(t,e));var i=this.services.interpolator.interpolate(n,{lng:t.join("+"),ns:e.join("+")});this.loadUrl(i,o)}},{key:"read",value:function(t,e,o){var n=this.options.loadPath;"function"==typeof this.options.loadPath&&(n=this.options.loadPath([t],[e]));var i=this.services.interpolator.interpolate(n,{lng:t,ns:e});this.loadUrl(i,o)}},{key:"loadUrl",value:function(t,e){var o=this;this.options.ajax(t,this.options,function(n,i){if(i.status>=500&&i.status<600)return e("failed loading "+t,!0);if(i.status>=400&&i.status<500)return e("failed loading "+t,!1);var r,a;try{r=o.options.parse(n,t)}catch(e){a="failed parsing "+t+" to json"}if(a)return e(a,!1);e(null,r)})}},{key:"create",value:function(t,e,o,n){var i=this;"string"==typeof t&&(t=[t]);var r={};r[o]=n||"",t.forEach(function(t){var o=i.services.interpolator.interpolate(i.options.addPath,{lng:t,ns:e});i.options.ajax(o,i.options,function(t,e){},r)})}}])&&t(i.prototype,r),a&&t(i,a),e}();return l.type="backend",l});
[-] i18nextSprintfPostProcessor.js
[edit]
[-] i18nextSprintfPostProcessor.min.js
[edit]
[-] i18next.min.js
[edit]
[+]
..
[-] ng-i18next.js
[edit]
[-] i18nextXHRBackend.js
[edit]
[-] ng-i18next.min.js
[edit]
[-] i18next.js
[edit]
[-] i18nextXHRBackend.min.js
[edit]