Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update handjs to 1.3.5 #452

Merged
merged 1 commit into from

4 participants

@SevInf
Owner

This fixes b-slider.

@truerenton @tadatuta

@truerenton
Collaborator

а можешь прилинковать фикс из hand.js ?
в остальном :+1:

@SevInf
Owner

@truerenton, добавил ссылку на чейнджсет сюда и в комментарий к коммиту.

@arikon
Owner

@tadatuta Сделаем новую версию?

@arikon
Owner

@SevInf Нужен такой же pr в ветку support/1.x

@tadatuta tadatuta merged commit a85cffb into from
@tadatuta tadatuta deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 19, 2014
  1. @SevInf

    Update handjs to 1.3.5

    SevInf authored
    This fix http://handjs.codeplex.com/SourceControl/changeset/105194 is
    required for b-slider to work.
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 5 deletions.
  1. +5 −5 blocks-touch/i-pointer-events/i-pointer-events.js
View
10 blocks-touch/i-pointer-events/i-pointer-events.js
@@ -231,9 +231,9 @@
}
if (checkRegistration) {
- generateTouchEventProxyIfRegistered(name, touchPoint, previousTargets[touchPoint.identifier], eventObject);
+ generateTouchEventProxyIfRegistered(name, touchPoint, previousTargets[touchPoint.identifier], eventObject, true);
} else {
- generateTouchEventProxy(name, touchPoint, previousTargets[touchPoint.identifier], eventObject);
+ generateTouchEventProxy(name, touchPoint, previousTargets[touchPoint.identifier], eventObject, true);
}
}
};
@@ -358,7 +358,7 @@
// Hooks
interceptAddEventListener(window);
- interceptAddEventListener(typeof HTMLElement !== "undefined" ? HTMLElement : Element);
+ interceptAddEventListener(HTMLElement || Element);
interceptAddEventListener(document);
interceptAddEventListener(HTMLBodyElement);
interceptAddEventListener(HTMLDivElement);
@@ -378,7 +378,7 @@
}
interceptRemoveEventListener(window);
- interceptRemoveEventListener(typeof HTMLElement !== "undefined" ? HTMLElement : Element);
+ interceptRemoveEventListener(HTMLElement || Element);
interceptRemoveEventListener(document);
interceptRemoveEventListener(HTMLBodyElement);
interceptRemoveEventListener(HTMLDivElement);
@@ -462,7 +462,7 @@
// Handling events on window to prevent unwanted super-bubbling
// All mouse events are affected by touch fallback
function applySimpleEventTunnels(nameGenerator, eventGenerator) {
- ["pointerdown", "pointermove", "pointerup", "pointerover", "pointerout"].map(function (eventName) {
+ ["pointerdown", "pointermove", "pointerup", "pointerover", "pointerout"].forEach(function (eventName) {
window.addEventListener(nameGenerator(eventName), function (evt) {
if (!touching && findEventRegisteredNode(evt.target, eventName))
eventGenerator(evt, eventName, true);
Something went wrong with that request. Please try again.