Last active
July 6, 2017 14:05
-
-
Save iamsonal/3f7fbbf87aad06231f7e2daeca884c32 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
doForeground: function(cmp, event, helper) { | |
helper.echo(cmp, 'Foreground #1'); | |
helper.echo(cmp, 'Foreground #2'); | |
}, | |
doBackground: function(cmp, event, helper) { | |
helper.echo(cmp, 'Background #1', function(action) { | |
action.setBackground(); | |
}); | |
helper.echo(cmp, 'Background #2', function(action) { | |
action.setBackground(); | |
}); | |
}, | |
doStorable: function(cmp, event, helper) { | |
helper.echo(cmp, 'Storable #1', function(action) { | |
action.setStorable(); | |
}); | |
helper.echo(cmp, 'Storable #2', function(action) { | |
action.setStorable(); | |
}); | |
}, | |
doAbortable: function(cmp, event, helper) { | |
helper.echo(cmp, 'Abortable #1', function(action) { | |
action.setAbortable(); | |
}); | |
helper.echo(cmp, 'Abortable #2', function(action) { | |
action.setAbortable(); | |
}); | |
}, | |
doClear: function(cmp, event, helper) { | |
helper.clear(cmp); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment