(el, tag)
| 706 | window.removeEventListener(type, fn, arg || false); |
| 707 | } |
| 708 | function isNodeName(el, tag) { |
| 709 | return el && (el.nodeName || "").toLowerCase() === tag.toLowerCase(); |
| 710 | } |
| 711 | function directionCheck(x, y) { |
| 712 | x = x > 0 ? 1 : -1; |
| 713 | y = y > 0 ? 1 : -1; |