Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created September 3, 2015 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmcw/92896036b6bc1c9e425b to your computer and use it in GitHub Desktop.
Save tmcw/92896036b6bc1c9e425b to your computer and use it in GitHub Desktop.
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