| Total Complexity | 3 |
| Complexity/F | 1 |
| Lines of Code | 24 |
| Function Count | 3 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import '../scss/app.scss'; |
||
| 9 | |||
| 10 | Routing.setRoutingData(routes); |
||
| 11 | global.$ = global.jQuery = $; |
||
| 12 | global.Routing = Routing; |
||
| 13 | |||
| 14 | loadAssets(); |
||
| 15 | |||
| 16 | $(function() { |
||
| 17 | // Add a space every thousand for number inputs |
||
| 18 | $('[data-type-number]').on('input', function () { |
||
| 19 | $(this).val(function (index, value) { |
||
| 20 | return value.replace(/[^\dA-Z]/g, '').replace(/(.)(?=(.{3})+$)/g,'$1 ').trim(); |
||
| 21 | }); |
||
| 22 | }) |
||
| 23 | }); |
||
| 24 |