Fix up "Auto format JavaScript code on download from CRM" to support ES6
Some of our JavaScript code currently uses features that were introduced in ES6 and ES2015, these include arrow functions and template literals.
When we have the "Auto format JavaScript code on download from CRM" enabled in the XrmToolkit Options it breaks our code.
The formatting adds a space between arrow functions, so "=>" becomes "= >".
Additionally, new lines and spaces are added within strings created using template literals which completely breaks them.
I'd be happy to provide a video demonstrating this if necessary.
Thanks!
1
vote
James Warner
shared this idea
This will be fixed in the next minor version (6.3).