@enact/core
Advanced tools
Comparing version 1.0.0-alpha.3 to 1.0.0-alpha.4
@@ -5,2 +5,6 @@ # Change Log | ||
## [1.0.0-alpha.4] - 2016-12-2 | ||
No developer-facing changes. | ||
## [1.0.0-alpha.3] - 2016-11-8 | ||
@@ -7,0 +11,0 @@ |
@@ -21,2 +21,3 @@ 'use strict'; | ||
* | ||
* @function | ||
* @param {Event} ev Event payload | ||
@@ -26,2 +27,4 @@ * @param {Function} fn Event callback | ||
* @returns {undefined} | ||
* @memberof core/dispatcher | ||
* @private | ||
*/ | ||
@@ -31,3 +34,3 @@ /** | ||
* | ||
* @module @enact/core/dispatcher | ||
* @module core/dispatcher | ||
*/ | ||
@@ -47,9 +50,12 @@ | ||
* | ||
* @function | ||
* @param {Event} ev Event payload | ||
* | ||
* @returns {undefined} | ||
* @memberof core/dispatcher | ||
* @private | ||
*/ | ||
var dispatcher = function dispatcher(ev) { | ||
var name = ev.type; | ||
var listeners = (0, _listeners2.default)(ev.target, name); | ||
var listeners = (0, _listeners2.default)(ev.currentTarget, name); | ||
@@ -65,2 +71,3 @@ if (listeners) { | ||
* | ||
* @function | ||
* @param {String} name Event name | ||
@@ -71,2 +78,3 @@ * @param {Function} fn Event handler | ||
* @returns {undefined} | ||
* @memberof core/dispatcher | ||
*/ | ||
@@ -87,2 +95,3 @@ var on = function on(name, fn) { | ||
* | ||
* @function | ||
* @param {String} name Event name | ||
@@ -93,2 +102,3 @@ * @param {Function} fn Event handler | ||
* @returns {undefined} | ||
* @memberof core/dispatcher | ||
*/ | ||
@@ -112,2 +122,3 @@ var off = function off(name, fn) { | ||
* | ||
* @function | ||
* @param {String} name Event name | ||
@@ -119,2 +130,3 @@ * @param {Function} fn Event handler | ||
* remove it. | ||
* @memberof core/dispatcher | ||
*/ | ||
@@ -121,0 +133,0 @@ var once = function once(name, fn) { |
{ | ||
"name": "@enact/core", | ||
"version": "1.0.0-alpha.3", | ||
"version": "1.0.0-alpha.4", | ||
"description": "Enact is an open source JavaScript framework containing everything you need to create a fast, scalable mobile or web application.", | ||
@@ -31,5 +31,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"react": "~15.3.2", | ||
"react-addons-update": "~15.3.2", | ||
"react-dom": "~15.3.2", | ||
"react": "~15.4.0", | ||
"react-addons-update": "~15.4.0", | ||
"react-dom": "~15.4.0", | ||
"ramda": "~0.22.1", | ||
@@ -36,0 +36,0 @@ "classnames": "~2.2.5" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79913
46
2247
+ Addedreact@15.4.2(transitive)
+ Addedreact-addons-update@15.4.2(transitive)
+ Addedreact-dom@15.4.2(transitive)
- Removedreact@15.3.2(transitive)
- Removedreact-addons-update@15.3.2(transitive)
- Removedreact-dom@15.3.2(transitive)
Updatedreact@~15.4.0
Updatedreact-addons-update@~15.4.0
Updatedreact-dom@~15.4.0