-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Bro(app)
.iDontAlways('config.environment.buildURL')
.butWhenIdo(function(buildURL){
myURL = buildURL('dev');
});This is awesome, but sometimes it's great to not have to check the property again to handle an 'else' exception. Something like:
Bro(app)
.iDontAlways('config.environment.buildURL')
.butWhenIdo(function(buildURL){
myURL = buildURL('dev');
})
.butIfIdont(function() {
// do other stuff
});Tried to wire in something like this, but it blew up when trying to add in the fallback function.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels