![]() 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> |
||
---|---|---|
.. | ||
babel-preset-pretranslated-format-message | ||
browserslist-config-canvas-lms | ||
canvas-media | ||
canvas-planner | ||
canvas-rce | ||
jest-moxios-utils | ||
js-utils | ||
k5uploader | ||
old-copy-of-react-14-that-is-just-here-so-if-analytics-is-checked-out-it-doesnt-change-yarn.lock |