Created
September 3, 2015 22:58
-
-
Save tmcw/92896036b6bc1c9e425b 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
var res = deps[0]; | |
dispatch({ | |
actionType: StyleSheetConstants.STYLESHEET_LOAD_SUCCESS, | |
name: res.name, | |
styleId: styleId, | |
ownerId: ownerId, | |
style: res, | |
version: res.version, | |
draft: res.draft | |
}); | |
}, errs => { | |
var res = errs[0]; | |
dispatch({ | |
actionType: StyleSheetConstants.STYLESHEET_LOAD_SUCCESS, | |
name: res.name, | |
styleId: styleId, | |
ownerId: ownerId, | |
style: res, | |
version: res.version, | |
draft: res.draft | |
}); | |
}), actions.stylesheet.load, arguments, loadingType); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment