Created
January 1, 2016 10:09
-
-
Save benlau/6185a05e17f5d8b36f8d 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
Connections { | |
target: AppDispatcher | |
onDispatched : { | |
if (type === ActionTypes.openItem} { | |
/// Create new window and open item | |
} else if (type === ActionTypes.askToRemoveItem } { | |
/// Open a dialog | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment