canvas-lms/packages
Ryan Shaw 78a25bf4e8 [codemod] convert functions to fat arrows
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>
2019-08-26 22:20:33 +00:00
..
babel-preset-pretranslated-format-message Move the pretranslated babel stuff into own pkg 2018-08-17 20:34:19 +00:00
browserslist-config-canvas-lms rename canvas-supported-browsers to browserslist-config-canvas-lms 2019-08-08 20:12:31 +00:00
canvas-media cleanup media integration with a2 student 2019-08-26 21:59:39 +00:00
canvas-planner upgrade some NPM dependencies 2019-08-20 18:30:44 +00:00
canvas-rce [codemod] convert functions to fat arrows 2019-08-26 22:20:33 +00:00
jest-moxios-utils upgrade some NPM dependencies 2019-08-20 18:30:44 +00:00
js-utils Better 40x/50x error handling for all `fetch` requests 2019-08-20 18:36:02 +00:00
k5uploader [codemod] convert functions to fat arrows 2019-08-26 22:20:33 +00:00
old-copy-of-react-14-that-is-just-here-so-if-analytics-is-checked-out-it-doesnt-change-yarn.lock upgrade react from 15.x to 16.x 2018-09-26 19:04:47 +00:00