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

autoNumeric / autoNumeric / 81
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: v4.5.6
DEFAULT BRANCH: master
Ran 27 Feb 2017 10:58AM UTC
Jobs 1
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

pending completion
81

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)

2081 of 2081 new or added lines in 4 files covered. (100.0%)

1215 of 2221 relevant lines covered (54.71%)

249.3 hits per line

Uncovered Changes

Lines Coverage ∆ File
788
100.0
src/autoNumeric.js
103
100.0
src/AutoNumericHelper.js
Jobs
ID Job ID Ran Files Coverage
1 81.1 27 Feb 2017 10:58AM UTC 0
54.71
Travis Job 81.1
Source Files on build 81
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #81
  • d4b46c68 on github
  • Prev Build on next (#80)
  • Next Build on next (#84)
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