fix(theme-picker): Fix linter issues for ES6

This commit is contained in:
Jackie Luo 2016-03-08 17:41:22 -08:00
parent e94dbbdca1
commit ea5744d0ed
2 changed files with 7 additions and 7 deletions

View file

@ -16,12 +16,12 @@ class ThemePickerStore extends NylasStore {
activate = ()=> { activate = ()=> {
this._apm = new APMWrapper(); this._apm = new APMWrapper();
this.unlisten = ThemePickerActions.uninstallTheme.listen(this.uninstallTheme); this.unlisten = ThemePickerActions.uninstallTheme.listen(this.uninstallTheme);
this.disposable = NylasEnv.commands.add("body", "window:launch-theme-picker", () => { this.disposable = NylasEnv.commands.add("body", "window:launch-theme-picker", () => {
Actions.openModal( Actions.openModal({
children=<ThemePicker />, component: (<ThemePicker />),
height=400, height: 400,
width=250, width: 250,
); });
}); });
} }

View file

@ -40,7 +40,7 @@ class ModalStore extends NylasStore {
}); });
}; };
openModal = (component, height, width, callback = ()=> {})=> { openModal = ({component, height, width}, callback = ()=> {})=> {
const props = { const props = {
height: height, height: height,
width: width, width: width,