js
src
dom
data.js +51 -0
event.js +0 -61
eventHandler.js +216 -0
selectorEngine.js +66 -0
alert.js +28 -32
util.js +3 -3
tests
unit
alert.js +17 -13
visual
alert.html +3 -1
button.html +1 -1
carousel.html +1 -1
collapse.html +1 -1
dropdown.html +1 -1
modal.html +1 -1
popover.html +1 -1
scrollspy.html +1 -1
tab.html +1 -1
.eslintrc.json +1 -0
index.html +3 -1
package.json +1 -1
js/src/dom/data.js
0 → 100644
+ 51
- 0
js/src/dom/event.js deleted
100644 → 0
+ 0
- 61
js/src/dom/eventHandler.js
0 → 100644
+ 216
- 0
js/src/dom/selectorEngine.js
0 → 100644
+ 66
- 0
+ 28
- 32
@@ -8,7 +11,7 @@ import Util from './util'
@@ -70,7 +73,7 @@ const Alert = (($) => {
@@ -78,7 +81,7 @@ const Alert = (($) => {
@@ -90,42 +93,37 @@ const Alert = (($) => {
@@ -133,12 +131,11 @@ const Alert = (($) => {
@@ -165,29 +162,28 @@ const Alert = (($) => {
+ 3
- 3
@@ -9,7 +9,7 @@ import Event from './dom/event'
@@ -60,7 +60,7 @@ const Util = (() => {
+ 17
- 13
@@ -41,8 +41,8 @@ $(function () {
@@ -56,7 +56,8 @@ $(function () {
@@ -64,16 +65,19 @@ $(function () {
+ 3
- 1
@@ -45,7 +45,9 @@
+ 1
- 1
+ 1
- 1
+ 1
- 1
+ 1
- 1
@@ -119,7 +119,7 @@