Title: ngAnimate + $$RAFProvider : crashes when browser doesn't support requestAnimationFrame or is prefixed with 'moz' · Issue #6535 · angular/angular.js · GitHub
Open Graph Title: ngAnimate + $$RAFProvider : crashes when browser doesn't support requestAnimationFrame or is prefixed with 'moz' · Issue #6535 · angular/angular.js
X Title: ngAnimate + $$RAFProvider : crashes when browser doesn't support requestAnimationFrame or is prefixed with 'moz' · Issue #6535 · angular/angular.js
Description: The RAFProvider is adding a supported property to indicate whether the browser supports or not the requestAnimationFrame (see angular.js/src/ng/raf.js Line 18 in 04d7317 raf.supported = !!requestAnimationFrame; ) but the ngAnimate doesn'...
Open Graph Description: The RAFProvider is adding a supported property to indicate whether the browser supports or not the requestAnimationFrame (see angular.js/src/ng/raf.js Line 18 in 04d7317 raf.supported = !!requestAn...
X Description: The RAFProvider is adding a supported property to indicate whether the browser supports or not the requestAnimationFrame (see angular.js/src/ng/raf.js Line 18 in 04d7317 raf.supported = !!requestAn...
Opengraph URL: https://github.com/angular/angular.js/issues/6535
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ngAnimate + $$RAFProvider : crashes when browser doesn't support requestAnimationFrame or is prefixed with 'moz'","articleBody":"The RAFProvider is adding a `supported` property to indicate whether the browser supports or not the `requestAnimationFrame` (see https://github.com/angular/angular.js/blob/04d7317cdd95ba00783389f89f6e9a7e1fc418f8/src/ng/raf.js#L18) but the ngAnimate doesn't check this property before using it (see https://github.com/angular/angular.js/blob/master/src/ngAnimate/animate.js#L261). \n\nI would be happy to make a pull request on this but my question is : \nis it best to add a fallback on a timeout directly in the RAFProvider or to check for the `supported`property every time it is used ? \n\nI think just adding the `mozRequestAnimationFrame` would be a good start. \n","author":{"url":"https://github.com/atomrc","@type":"Person","name":"atomrc"},"datePublished":"2014-03-04T09:51:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/6535/angular.js/issues/6535"}
| 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:52135d65-cd6c-6c8f-70e4-3a512116188a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B006:1386D9:B11002:FE7F00:6A58CF9C |
| html-safe-nonce | accdf960b613e1c1c0f8d150b3fcc1409da9f01eb2db555996579ce931d1a05d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDA2OjEzODZEOTpCMTEwMDI6RkU3RjAwOjZBNThDRjlDIiwidmlzaXRvcl9pZCI6Ijc3NTkzNTg1NzUyNDQ3OTE3MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f5efe93383ecc1542529bc558c4f6be56c0b6dc26a53b146fe1cb510f0770bdf |
| hovercard-subject-tag | issue:28692275 |
| 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/angular/angular.js/6535/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2a04bb8151f26528b0fb79a11dec400eb4ee8f319b086a30d0988aaae2f9bdd1/angular/angular.js/issues/6535 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2a04bb8151f26528b0fb79a11dec400eb4ee8f319b086a30d0988aaae2f9bdd1/angular/angular.js/issues/6535 |
| og:image:alt | The RAFProvider is adding a supported property to indicate whether the browser supports or not the requestAnimationFrame (see angular.js/src/ng/raf.js Line 18 in 04d7317 raf.supported = !!requestAn... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | atomrc |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular.js git https://github.com/angular/angular.js.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 460078 |
| octolytics-dimension-repository_nwo | angular/angular.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 460078 |
| octolytics-dimension-repository_network_root_nwo | angular/angular.js |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width