HABPanel Chart Widget Bug, MacOS, Safari/Chrome?

under MacOS the HABPanel chart widget is not working (and was also not available ind widget list) in Safari and Chrome. It seems to be a a problem on MacOS - however I analyzed a bit further and found on Safari’s console following message

SyntaxError: Strict mode does not allow function declarations in a lexically nested statement.

I cloned HABPanel from git and commented the ‘use strict’ in chart.widget.js:2 out - as a “quick n dirty work around” - having done that the Chart widget seem to work.

May it is better to have a real fix and follow “use strict” ECMA rules ? (unfortunately i have no time/knowledge to fix it on myself )


Related GitHub issue to follow for this: