i18n.lua icon indicating copy to clipboard operation
i18n.lua copied to clipboard

Remove global state

Open kikito opened this issue 10 years ago • 2 comments

This library uses global state in several places. That needs to be removed.

kikito avatar Apr 15 '15 10:04 kikito

@kikito I am not quite sure I understand this issue. Do you mean that several i18n instances should be possible?

winniehell avatar Jan 01 '17 20:01 winniehell

Hi, in essence, yes. My views on this matter can be read here: http://kiki.to/blog/2014/04/11/rule-4-make-stateless-modules/

On Jan 1, 2017 21:56, "Winnie" [email protected] wrote:

@kikito https://github.com/kikito I am not quite sure I understand this issue. Do you mean that several i18n instances should be possible?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kikito/i18n.lua/issues/12#issuecomment-269919299, or mute the thread https://github.com/notifications/unsubscribe-auth/AAD2m7SY6I27dst2C1sse4Sj0VW2EMDnks5rOBMQgaJpZM4EA-7S .

kikito avatar Jan 01 '17 23:01 kikito