Skip to content

Commit

Permalink
Update FixLanguageType.min.js
Browse files Browse the repository at this point in the history
  • Loading branch information
BaseMax authored Jul 2, 2018
1 parent bbe4675 commit ea70764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FixLanguageType.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
* @Repository : https://github.com/BaseMax/FixLanguageTypeJs
*
**/
!function(n,e){"use strict";var t=[["q","ض"],["w","ص"],["e","ث"],["r","ق"],["t","ف"],["y","غ"],["u","ع"],["i","ه"],["o","خ"],["p","ح"],["[","ج"],["]","چ"],["a","ش"],["s","س"],["d","ی"],["m","ئ"],["f","ب"],["g","ل"],["h","ا"],["j","ت"],["k","ن"],["l","م"],[";","ک"],['"',"گ"],["z","ظ"],["x","ط"],["c","ز"],["v","ر"],["b","ذ"],["n","د"],["\\","پ"],["`","پ"],[",","و"]],o=function(n,e,t,o){return n.replace(new RegExp(e.replace(/([\/\,\!\\\^\$\{\}\[\]\(\)\.\*\+\?\|\<\>\-\&])/g,"\\$&"),o?"gi":"g"),"string"==typeof t?t.replace(/\$/g,"$$$$"):t)};n.fixtype={en_fa:function(n){for(var e=0;e<t.length;e++)console.log(t[e]),n=o(n,t[e][0],t[e][1]);return n},fa_en:function(n){for(var e=0;e<t.length;e++)console.log(t[e]),n=o(n,t[e][1],t[e][0]);return n}},n.addEventListener("load",function(){},!1)}(window,document);
!function(n,e){"use strict";var t=[["q","ض"],["w","ص"],["e","ث"],["r","ق"],["t","ف"],["y","غ"],["u","ع"],["i","ه"],["o","خ"],["p","ح"],["[","ج"],["]","چ"],["a","ش"],["s","س"],["d","ی"],["m","ئ"],["f","ب"],["g","ل"],["h","ا"],["j","ت"],["k","ن"],["l","م"],[";","ک"],['"',"گ"],["z","ظ"],["x","ط"],["c","ز"],["C","ژ"],["v","ر"],["b","ذ"],["n","د"],["\\","پ"],["`","پ"],[",","و"]],o=function(n,e,t,o){return n.replace(new RegExp(e.replace(/([\/\,\!\\\^\$\{\}\[\]\(\)\.\*\+\?\|\<\>\-\&])/g,"\\$&"),o?"gi":"g"),"string"==typeof t?t.replace(/\$/g,"$$$$"):t)};n.fixtype={en_fa:function(n){for(var e=0;e<t.length;e++)console.log(t[e]),n=o(n,t[e][0],t[e][1]);return n},fa_en:function(n){for(var e=0;e<t.length;e++)console.log(t[e]),n=o(n,t[e][1],t[e][0]);return n}},n.addEventListener("load",function(){},!1)}(window,document);

0 comments on commit ea70764

Please sign in to comment.