mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 20:54:31 +08:00
1dcdcb5c31
* FIX: Cast all numerical values in reports The backend can return some numerical values in report as strings. That results in unexpected order of values when sorting report tables. * Create `toNumber()` helper The `typeof` and `parseFloat` seem to be the fastest path: https://jsperf.com/number-vs-typeof-vs-parsefloat#results |
||
---|---|---|
.. | ||
javascripts | ||
stylesheets | ||
run-qunit.js | ||
smoke_test.js |