30.01.2019, 08:43
I've found another similar situation:
I have a custom library 'user.blinds' and when all functions in this library are global then when I require this library in some script I have an access to function dayScene. But after changing a few functions in this library to local variables but not dayScene then in script I cannot reach this function. Only when I do such thing:
And then in script I can reach dayscene function but not dayScene so I see that when there are some local variables in global scope of module then probably all variables are indexed and then camelCase is unfortunately dropped.
I have a custom library 'user.blinds' and when all functions in this library are global then when I require this library in some script I have an access to function dayScene. But after changing a few functions in this library to local variables but not dayScene then in script I cannot reach this function. Only when I do such thing:
Code:
-- GLOBALS in 'user.blinds'
function dayScene()
execScene()
alert('day')
end
dayscene = dayScene
And then in script I can reach dayscene function but not dayScene so I see that when there are some local variables in global scope of module then probably all variables are indexed and then camelCase is unfortunately dropped.
Done is better than perfect