Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/incubator-storm/pull/209#issuecomment-54244513
  
    @EdisonXu We changed tablesorter.js's master from christianbach to Mottie.
    
    original source code (current master) is 
https://github.com/Mottie/tablesorter/blob/master/js/jquery.tablesorter.js
    
    It already replaces currency to unicode representation, so I said there 
seems to no problem.
    
    ```
    ts.addParser({
                id: "currency",
                is: function(s) {
                        return 
(/^\(?\d+[\u00a3$\u20ac\u00a4\u00a5\u00a2?.]|[\u00a3$\u20ac\u00a4\u00a5\u00a2?.]\d+\)?$/).test((s
 || '').replace(/[+\-,. ]/g,'')); // £$€¤¥¢
                },
                format: function(s, table) {
                        var n = ts.formatFloat((s || '').replace(/[^\w,. 
\-()]/g, ""), table);
                        return s && typeof n === 'number' ? n : s ? $.trim( s 
&& table.config.ignoreCase ? s.toLocaleLowerCase() : s ) : s;
                },
                type: "numeric"
        });
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to