This is the result of running:
jscodeshift -t ../js-codemod/transforms/arrow-function.js .
see: https://github.com/cpojer/js-codemod#arrow-function
Transforms callbacks only when it can guarantee it won't break this
context in the function.
Also transforms function() { }.bind(this) calls to () => {}.
jscodeshift -t js-codemod/transforms/arrow-function.js <file>
Change-Id: I04d20c818002b3dce5a43d8e91f01d904f966706
Reviewed-on: https://gerrit.instructure.com/205785
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
Tested-by: Jenkins
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
fixes CORE-2659 CORE-2661
Test Plan:
- in the demo site add a jwt and ensure the rcs is running
- spin up and configure notorious to talk to canvas
- click on the upload media button
- notice the modal shows up
- record a video and click save
- notice it saves and embeds a video into the rce
Change-Id: I4845011cb387b1061a97ac755d90537f9b21f44a
Reviewed-on: https://gerrit.instructure.com/194293
Tested-by: Jenkins
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
QA-Review: Steven Burnett <sburnett@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
fixes a ticket
Test Plan
- go record a video through the rce, (new, edit pages)
without turning on any feature flags and notice the
arc (modern) video recorder shows on chrome, ff
- record a video and notice it works
- try on all browsers and notice recording works
no matter if arc or the default recorder
Change-Id: Ic3d0e01554e016962259a60ab50a20d8e215840d
Reviewed-on: https://gerrit.instructure.com/194292
Tested-by: Jenkins
Reviewed-by: Landon Gilbert-Bland <lbland@instructure.com>
Reviewed-by: Ryan Norton <rnorton@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>