@@ -362,7 +362,7 @@ function Card(kernel: boolean, item: ILauncherItem, launcher: Launcher, launcher
});
};
// Add a data attribute for the category
- let dataset = {category: item.category || 'Other'};
+ let dataset = { category: item.category || 'Other' };
// Return the VDOM element.
return (
<div className='jp-LauncherCard'
@@ -705,7 +705,7 @@ class PluginEditor extends Widget {
private _onSettingsChanged(): void {
const editor = this._editor;
const settings = this._settings;
- const values = settings && settings.user || {};
+ const values = settings && settings.user || { };
editor.source = new ObservableJSON({ values });
editor.source.changed.connect(this._onSourceChanged, this);
@@ -26,10 +26,10 @@ class TestConnector extends StateDB implements IDataConnector<ISettingRegistry.I
return null;
}
- let user = data as JSONObject || {};
+ let user = data as JSONObject || { };
const schema = this.schemas[id] || { type: 'object' };
- const result = { data: { composite: {}, user }, id, schema };
+ const result = { data: { composite: { }, user }, id, schema };
return result;