Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Why does Solution Checker not recognize "use strict" in the beginning of a Javascript Webresource?

$
0
0

The new Solution Checker of Dynamics Admin Area has some really nice features to validate Customizations.

https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/use-powerapps-checker

But I am struggling with keeping my Javascript Files "clean".

The following script in a Script Webresource validates OK

function mySolutionCheckerFunction() {"use strict";
var number = 1+1;

}

But why does the following code not pass the Solution Checker?

"use strict";

function mySolutionCheckerFunction() {

var number = 1+1;

}


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>