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

autoNumeric / autoNumeric / 120 / 1
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: v4.5.6
DEFAULT BRANCH: master
Ran 16 Mar 2017 08:05PM 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

16 Mar 2017 08:03PM UTC coverage: 58.678% (+2.6%) from 56.057%
120.1

push

travis-ci

AlexandreBonneau
Add unit tests for the new `global.*` features

Fix issue #412 Using `set('')` does not respect the `emptyInputBehavior` option when it's set to `'always'`
Add a `createLocalList` option which allow to control whether a local list of AutoNumeric objects should be saved on initializations.
Add a `global.update()` function to update the settings on a local list.
Modify the `global.clear()` function to be able to force a `clear` call.
Add a `global.nuke()` function to `remove` then delete the local list DOM element from the DOM.
Update the `global.clear()` function signature with the `clear()` one.
Fix the `global.addObject()` function that did not update the local list of the added element.
Fix the `global.addObject()` function so that if it add an AutoNumeric object that already has a local list with multiple other AutoNumeric objects, it merges the list.
Fix the `global.removeObject()` function to make it update all the objects local list. Also add special behaviors when an AutoNumeric element removes itself or another one.
Fix the `global.empty()` function to match the `removeObject` behavior.
Simplify the `init()` method by removing a negation in one of its parameter.
Fix the `init()` method initialization process by preventing creating a local list, then removing it immediately if the user wanted a detached element. Now, the local list is just not created (Using the `createLocalList` option set to `false`).
Add an end-to-end test for the `remove()` method.
Add a `_hasLocalList()` method that tests if the AutoNumeric element has a local list and that it has at least one element in it (itself usually).

Signed-off-by: Alexandre Bonneau <alexandre.bonneau@linuxfr.eu>

1474 of 2512 relevant lines covered (58.68%)

313.65 hits per line

Source Files on job 120.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 120
  • Travis Job 120.1
  • a5fc577e on github
  • Prev Job for on next (#119.1)
  • Next Job for on next (#121.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