Remove Unused Services From Client script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2020 12:58 AM
In the health scan report, servicenow has identified 73 instances where services are unused in the client controller.
For Example
Client controller code:
function($scope) {
/* widget controller */
var c = this;
}
Above instance is identified where $scope is defined but not used in the script.
I want to understand the dependancies of this.
If I proceed to remove this and update like below - will it make any difference?
function() {
/* widget controller */
var c = this;
}
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2020 01:41 AM
it will not make any difference