refract-preact-xstream
Advanced tools
Comparing version 4.1.0 to 4.1.1
@@ -116,10 +116,4 @@ import $$observable from 'symbol-observable'; | ||
}; | ||
var useEvent = function () { | ||
var args = []; | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
args[_i] = arguments[_i]; | ||
} | ||
var eventName = args[0]; | ||
var hasSeedValue = args.length > 1; | ||
var seedValue = args[2]; | ||
function useEvent(eventName, seedValue) { | ||
var hasSeedValue = arguments.length > 1; | ||
var events$ = fromEvent(eventName); | ||
@@ -131,3 +125,3 @@ var pushEventValue = pushEvent(eventName); | ||
]; | ||
}; | ||
} | ||
return { | ||
@@ -134,0 +128,0 @@ mount: data.filter(isEvent(MOUNT_EVENT)).mapTo(undefined), |
12
index.js
@@ -122,10 +122,4 @@ 'use strict'; | ||
}; | ||
var useEvent = function () { | ||
var args = []; | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
args[_i] = arguments[_i]; | ||
} | ||
var eventName = args[0]; | ||
var hasSeedValue = args.length > 1; | ||
var seedValue = args[2]; | ||
function useEvent(eventName, seedValue) { | ||
var hasSeedValue = arguments.length > 1; | ||
var events$ = fromEvent(eventName); | ||
@@ -137,3 +131,3 @@ var pushEventValue = pushEvent(eventName); | ||
]; | ||
}; | ||
} | ||
return { | ||
@@ -140,0 +134,0 @@ mount: data.filter(isEvent(MOUNT_EVENT)).mapTo(undefined), |
{ | ||
"name": "refract-preact-xstream", | ||
"description": "Refract bindings for Preact with xstream: harness the power of reactive programming to supercharge your components!", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "jsnext:main": "index.es.js", |
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
45043
1007