• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

autoNumeric / autoNumeric / 81 / 1
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: v4.5.6
DEFAULT BRANCH: master
Ran 27 Feb 2017 10:58AM UTC
Files 4
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Feb 2017 10:54AM UTC coverage: 54.705% (+6.8%) from 47.856%
81.1

push

travis-ci

AlexandreBonneau
Fix issue #399 Fully convert autoNumeric to an ES6 module
Fix issue #398 Finish removing all jQuery dependencies
Fix issue #244 [Feature request] Remove the jQuery dependency

Add an entry point `src/main.js` for bundling the library.
Split the library into 3 files ;
- `autoNumeric.js`, which contains the AutoNumeric class,
- `AutoNumericEnum.js` which contains the enumerations used by AutoNumeric, and
- `AutoNumericHelper.js` which contains the AutoNumericHelper class which provides static helper functions.

Extract the `allowedTagList`, `keyCode` and `keyName` into `AutoNumericEnum`.
Add the `isEmptyString`, `isNumberOrArabic`, `isFunction`, `isElement`, `isInputElement`, `arabicToLatinNumbers`, `triggerEvent`, `randomString`, `getElementValue`, `setElementValue`, `cloneObject`, `camelize`, `text`, `setText` and `filterOut` functions to the helper functions.
Move the `preparePastedText`, `runCallbacksFoundInTheSettingsObject`, `maximumVMinAndVMaxDecimalLength`, `stripAllNonNumberCharacters`, `toggleNegativeBracket`, `convertToNumericString`, `toLocale`, `modifyNegativeSignAndDecimalCharacterForRawValue`, `modifyNegativeSignAndDecimalCharacterForFormattedValue`, `checkEmpty`, `addGroupSeparators`, `truncateZeros`, `roundValue`, `truncateDecimal`, `checkIfInRangeWithOverrideOption` functions into the AutoNumeric object.
Improve the `character()` method to take into account the quirks of some obsolete browsers.
Remove the `getCurrentElement()` function since we now only need to access the `this.domElement` property.
Remove the `AutoNumericHolder` class and the `getAutoNumericHolder()` function since we are now using the AutoNumeric class as the 'property holder'.

Add multiple ways to initialize an AutoNumeric element (cf. the AutoNumeric constructor and the `_setArgumentsValues()` method).
Simplify the input type and tag support check.
Add the `serializeSpaces` option that allows the user to defines how the serialize function will managed the spaces, ... (continued)

1215 of 2221 relevant lines covered (54.71%)

249.3 hits per line

Source Files on job 81.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 81
  • Travis Job 81.1
  • d4b46c68 on github
  • Prev Job for on next (#80.1)
  • Next Job for on next (#84.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc