Skip to content
Snippets Groups Projects
  1. Jul 04, 2017
  2. Jun 09, 2017
    • Alexandre Bonneau's avatar
    • Alexandre Bonneau's avatar
      Fix a rare bug when `scaleSymbol` is a castable to a Number, and would be... · 1ca06bf1
      Alexandre Bonneau authored
      Fix a rare bug when `scaleSymbol` is a castable to a Number, and would be added to the formatted value, instead of concatenated.
      
      Remove an unneeded temporary variable in `set()`.
      Add more details in some JSDoc.
      Fix `validate()` so that it throws an error early if `scaleDivisor` is wrongly set to `0`.
      Fix `_trimLeadingAndTrailingZeros()` so that it correctly handles the `null` value.
      Fix `_onFocusInAndMouseEnter()` so that the `decimalPlacesShownOnFocus` setting is correctly cast to a Number.
      Fix `_onFocusOutAndMouseLeave()` so that the `null` value is correctly handle. Also fix the error message shown when the `rawValue` is not stored as a string.
      Simplify a ternary condition into a simple `if` one.
      Hardcode the `isFocused` state to `false` when calling `_addGroupSeparators()` in `_onFocusOutAndMouseLeave()` so that it does not rely on the order where `this.isFocused` is set back to `false`.
      
      Signed-off-by: default avatarAlexandre Bonneau <alexandre.bonneau@linuxfr.eu>
      1ca06bf1
  3. Jun 05, 2017
  4. Jun 03, 2017
  5. Jun 02, 2017
  6. Jun 01, 2017
    • Alexandre Bonneau's avatar
      Allow initializing an AutoNumeric element with an array of options objects or... · 9433105d
      Alexandre Bonneau authored
      Allow initializing an AutoNumeric element with an array of options objects or pre-defined option names
      
      The latter options in the array will overwrite the previous ones.
      The array can contains either option objects, or pre-defined option names as a string (ie. `'euroPos'`).
      Both the initialization methods `new AutoNumeric()` and `AutoNumeric.multiple()` support using arrays of options.
      Add a static `AutoNumeric.mergeOptions()` function that accepts an array of option objects and / or pre-defined option names, and return a single option object where the latter element overwrite the settings from the previous ones.
      
      Signed-off-by: default avatarAlexandre Bonneau <alexandre.bonneau@linuxfr.eu>
      9433105d
  7. May 31, 2017
  8. May 29, 2017
  9. May 28, 2017
  10. May 27, 2017
  11. May 25, 2017
  12. May 15, 2017
  13. May 14, 2017
  14. May 13, 2017
  15. May 07, 2017
  16. May 02, 2017
  17. Apr 25, 2017
  18. Apr 22, 2017
Loading