Skip to content

Instantly share code, notes, and snippets.

@mcsee

mcsee/configs.js

Created Nov 19, 2020
Embed
What would you like to do?
class VerySpecificAndSmallObjectDealingWithPersistency {
retrieveData(){
if (GlobalSettingsSingleton.getInstance().valueAt('IamAPossibleMistypedString')) {
this.retriveDataThisWay();
}
else {
this.retriveDataThisOtherWay();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment