You are reading a single comment by @rigrig and its replies. Click here to read the full conversation.
  • the issue with a 'core' library is stuff always gets added to it

    Good point, Settings it is then.

    enforce settings.json so just require('Settings').get('app', 'option.to.get', 'default') might be better

    You're right, I think I mostly avoided it because I couldn't think of a nice way to ask for global settings from settings.json (passing in an empty first argument seems error-prone). But we can pass in Bangle (the object) and check for that. (unless that would lead to some issue like huge RAM usage I didn't think of?)

About

Avatar for rigrig @rigrig started