Commit a88d9bb
feat(hasClass): allow
* Support multiple classes in `hasClass`
* Remove unneccessary temp varible and fix linting
* Use every instead of reduce and map
* Revert package.json changes
* Add test for wrapper.element = undefined
* Update to include test for wrapper.element is null
* Restore original package.json and package-lock.json
* Remove commented out line
* Update package.jsonhasClass to compare multiple classes (#123)1 parent 08f58ee commit a88d9bb
File tree
2 files changed
+18
-8
lines changed- src/wrappers
- test/unit/specs/mount/Wrapper
2 files changed
+18
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
113 | 117 | | |
114 | 118 | | |
115 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 24 | | |
32 | 25 | | |
33 | 26 | | |
| |||
46 | 39 | | |
47 | 40 | | |
48 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
0 commit comments