You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Plugins/sorting/persian-number.min.js

2 lines
670 B
JavaScript

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*! © SpryMedia Ltd, Khorshid - datatables.net/license */
!function(t){"function"==typeof define&&define.amd?define(["datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,n){return e=e||window,n.fn.dataTable||require("datatables.net")(e,n),t(n,0,e.document)}:t(jQuery,window,document)}(function(e,n,t,r){"use strict";e=e.fn.dataTable;return e.ext.order["kh-persian-numbers-pre"]=function(e,n){return parseFloat(function(e){for(var n=["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"],t=["0","1","2","3","4","5","6","7","8","9"],r=e,o=0;o<10;o++)var u=new RegExp(n[o],"g"),r=r.replace(u,t[o]);return r}(e))},e});