549ee53266
* First shot at improving roman numeral IA. Added a new converter. Added new default settings. Added some tests. * Added un upper bound on arabic numbers. * Remove some typo… * Added some new triggers. Allowed uncorrect roman number to load the UI anyway. Fixed a test. * Added new triggers. Fixed regular expressions involved in the UI configuration. Added new tests. * Renamed file. * Variables defined outside the handle function. * Modified template. * Init logic now runs only once. * Added a prefix to ensure there are no collisions. * Fixed tests. * Added more agressive validation on user inputs. * Fixed a test case for aggressive validation. The ia doesn't trigger is the input is invalid with respect to roman numeral system. * Removed forEach operation (replaced with a for loop). Removed firstLetterUpperCase in favor of DDG util capitalize. * Fixed design on narrow screens. * Added a new test (roman man => undef). * Fixed regular expressions to avoid displaying if roman or arabic is used without numbers. * Added warnings when inputs are out of range. * Added a state variable for warnings. * Empty if removed. * Fixed regexps. * Fixed subtitle. * Css fixed. Both for mobile and desktop. * Fixed tests. * Use horizontal layout on desktop, vertical on mobile |
||
---|---|---|
.. | ||
content.handlebars | ||
roman.css | ||
roman.js |