react-tap-event-plugin
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "react-tap-event-plugin", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Facebook's TapEventPlugin, temporarily available on npm until its made public in their repo", | ||
@@ -5,0 +5,0 @@ "main": "src/injectTapEventPlugin.js", |
@@ -9,2 +9,2 @@ module.exports = function injectTapEventPlugin () { | ||
}); | ||
}; | ||
}; |
/** | ||
* Copyright 2013 Facebook, Inc. | ||
* Copyright 2013-2014, Facebook, Inc. | ||
* All rights reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. An additional grant | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* @providesModule ResponderEventPlugin | ||
@@ -26,3 +19,3 @@ */ | ||
var accumulate = require('react/lib/accumulate'); | ||
var accumulateInto = require('react/lib/accumulateInto'); | ||
var keyOf = require('react/lib/keyOf'); | ||
@@ -216,3 +209,3 @@ | ||
EventPropagators.accumulateDirectDispatches(terminateEvent); | ||
extracted = accumulate(extracted, [grantEvent, terminateEvent]); | ||
extracted = accumulateInto(extracted, [grantEvent, terminateEvent]); | ||
responderID = wantsResponderID; | ||
@@ -226,6 +219,6 @@ } else { | ||
EventPropagators.accumulateDirectDispatches(rejectEvent); | ||
extracted = accumulate(extracted, rejectEvent); | ||
extracted = accumulateInto(extracted, rejectEvent); | ||
} | ||
} else { | ||
extracted = accumulate(extracted, grantEvent); | ||
extracted = accumulateInto(extracted, grantEvent); | ||
responderID = wantsResponderID; | ||
@@ -294,3 +287,3 @@ } | ||
if (transfer) { | ||
extracted = accumulate(extracted, transfer); | ||
extracted = accumulateInto(extracted, transfer); | ||
} | ||
@@ -310,3 +303,3 @@ } | ||
EventPropagators.accumulateDirectDispatches(gesture); | ||
extracted = accumulate(extracted, gesture); | ||
extracted = accumulateInto(extracted, gesture); | ||
} | ||
@@ -313,0 +306,0 @@ if (type === eventTypes.responderRelease) { |
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
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
19245
2
80
471