Title: Dead code in swipe recognizer · Issue #103 · zingchart/zingtouch · GitHub
Open Graph Title: Dead code in swipe recognizer · Issue #103 · zingchart/zingtouch
X Title: Dead code in swipe recognizer · Issue #103 · zingchart/zingtouch
Description: I believe this zingtouch/src/gestures/Swipe.js Line 210 in d36d10e if (velocity < this.escapeVelocity) { should be for (var i = 0; i < output.data.length; i++) { if (output.data[i].velocity < this.escapeVelocity) { return null; } } other...
Open Graph Description: I believe this zingtouch/src/gestures/Swipe.js Line 210 in d36d10e if (velocity < this.escapeVelocity) { should be for (var i = 0; i < output.data.length; i++) { if (output.data[i].velocity < this....
X Description: I believe this zingtouch/src/gestures/Swipe.js Line 210 in d36d10e if (velocity < this.escapeVelocity) { should be for (var i = 0; i < output.data.length; i++) { if (output.data[i].velocity &...
Opengraph URL: https://github.com/zingchart/zingtouch/issues/103
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Dead code in swipe recognizer","articleBody":"I believe this\r\nhttps://github.com/zingchart/zingtouch/blob/d36d10e0a375b5b31e6f6beb3f942c16b4433ee9/src/gestures/Swipe.js#L210\r\n\r\nshould be \r\n```JavaScript\r\nfor (var i = 0; i \u003c output.data.length; i++) {\r\n if (output.data[i].velocity \u003c this.escapeVelocity) {\r\n return null;\r\n }\r\n }\r\n```\r\notherwise, it is useless. ","author":{"url":"https://github.com/c-smile","@type":"Person","name":"c-smile"},"datePublished":"2022-10-30T15:26:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/103/zingtouch/issues/103"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cbe78e3e-38e1-4181-ca06-34350155ad41 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB90:235B21:483D8B1:5F6968B:6992ED39 |
| html-safe-nonce | 9eb0145d6b9261e3317fc648378ebd21f6cc5f2360e061e36b95720eafb81e50 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjkwOjIzNUIyMTo0ODNEOEIxOjVGNjk2OEI6Njk5MkVEMzkiLCJ2aXNpdG9yX2lkIjoiMjM0ODc2MTMyNjM4ODcwMjUyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c8c1800bc992fbf0ba7ed8f98eddfcfecd443d75f9444383acdc380b8331c37b |
| hovercard-subject-tag | issue:1428857824 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/zingchart/zingtouch/103/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e5ca53345740d076746ae5396a57b8aad726b8ee8f7d22ba962d7f02fcc6d96b/zingchart/zingtouch/issues/103 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e5ca53345740d076746ae5396a57b8aad726b8ee8f7d22ba962d7f02fcc6d96b/zingchart/zingtouch/issues/103 |
| og:image:alt | I believe this zingtouch/src/gestures/Swipe.js Line 210 in d36d10e if (velocity < this.escapeVelocity) { should be for (var i = 0; i < output.data.length; i++) { if (output.data[i].velocity < this.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | c-smile |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01ab16879a3159e6f0717ab948b9b562e162a6aafd1f4393b786b07b747df244 |
| turbo-cache-control | no-preview |
| go-import | github.com/zingchart/zingtouch git https://github.com/zingchart/zingtouch.git |
| octolytics-dimension-user_id | 1650175 |
| octolytics-dimension-user_login | zingchart |
| octolytics-dimension-repository_id | 53977537 |
| octolytics-dimension-repository_nwo | zingchart/zingtouch |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 53977537 |
| octolytics-dimension-repository_network_root_nwo | zingchart/zingtouch |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b1570f3928bef80fa5fc7890ce0942e9b696ad9d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width