plainheart commented on a change in pull request #15985:
URL: https://github.com/apache/echarts/pull/15985#discussion_r774333439



##########
File path: src/preprocessor/helper/compatStyle.ts
##########
@@ -307,6 +307,11 @@ export default function globalCompatStyle(option: any, 
isTheme?: boolean) {
                 deprecateLog('nameGap property in radar component has been 
changed to axisNameGap');
             }
         }
+        each(radarOpt.indicator, function (indicatorOpt: any) {
+            if (__DEV__ && indicatorOpt.text) {

Review comment:
       There may be an unnecessary empty function invoking as `__DEV__` check 
is put into the loop.
   
   The final output will be as follows, (minimized)
   
   ```js
   Jp(t.indicator,(function(t){0}))
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to