-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded npm packages (webpack-4 and babel-7)
- Loading branch information
David Rivera
committed
Nov 13, 2018
1 parent
44e3d67
commit 3f68b40
Showing
20 changed files
with
4,912 additions
and
6,242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// https://babeljs.io/docs/en/v7-migration | ||
module.exports = { | ||
presets: [ | ||
'@babel/preset-env' | ||
], | ||
plugins: [ | ||
[ | ||
'@babel/plugin-transform-runtime', | ||
{ | ||
"corejs": false, | ||
"helpers": true, | ||
"regenerator": false, | ||
"useESModules": false | ||
} | ||
] | ||
], | ||
ignore: ['node_modules'] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
6 | ||
8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Technical Debt | ||
|
||
Although this file should contains technical debt, it also can contain | ||
improvements or feature request. | ||
|
||
## Add a method to trigger events | ||
|
||
It would be useful to have a method to trigger events, e.g. | ||
|
||
```javascript | ||
trigger(node: Element, eventns: String | Object) | ||
``` | ||
|
||
## Get events from other source | ||
|
||
It could be nice to have a method that can obtain the methods registered | ||
by other sorces, such as jQuery internal API. | ||
|
||
For example: | ||
|
||
```javascript | ||
addSources('jQuery', function($) { | ||
// perform logic here... | ||
return { | ||
// return the cache object from internal API | ||
node, | ||
events: { | ||
click: [ | ||
{ handler, namespace, useCapture, selector, delegated, source }, | ||
], | ||
} | ||
}; | ||
}); | ||
``` | ||
|
||
The method `getEventListeners` should check also in the sources registered | ||
in order to get the event listeners. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.