AnsweredAssumed Answered

WAB Source Code of Layer List Widget

Question asked by LM61067628 on Nov 28, 2016
Latest reply on Dec 16, 2016 by tyndallt_esri_adot

In Web AppBuilder (Developer Edition), when I checked the source code of Layer List Widget (Widget.js) , I don't understand why there is always a comma at the end of each function such as below: This is not right in JavaScript grammar. Why? Thanks!


destroy: function() {


It should be :  var destroy = function () {...};