Skip to content

TagSpaces is an offline, open source, document manager with tagging support

migration to openURLExternally for opening links

Ilian Sapundshievb271047c2939
diff --git a/app/components/FolderContainer.js b/app/components/FolderContainer.js
index da577eade..37c269f23 100644
--- a/app/components/FolderContainer.js
+++ b/app/components/FolderContainer.js
@@ -353,7 +353,6 @@ class FolderContainer extends React.Component<Props, State> {
directoryContent={this.props.directoryContent}
loadDirectoryContent={this.props.loadDirectoryContent}
openFile={this.props.openFile}
- openFileNatively={this.props.openFileNatively}
loadParentDirectoryContent={this.props.loadParentDirectoryContent}
deleteFile={this.props.deleteFile}
renameFile={this.props.renameFile}
diff --git a/app/components/HelpFeedbackPanel.js b/app/components/HelpFeedbackPanel.js
index 21b2b0da1..44faeb6f1 100644
--- a/app/components/HelpFeedbackPanel.js
+++ b/app/components/HelpFeedbackPanel.js
@@ -51,6 +51,7 @@ import { Pro } from '../pro';
type Props = {
classes: Object,
+ openURLExternally: (url: string) => void,
openFileNatively: (url: string) => void,
toggleKeysDialog: () => void,
toggleOnboardingDialog: () => void,
@@ -62,6 +63,7 @@ class HelpFeedbackPanel extends React.Component<Props> {
render() {
const {
classes,
+ openURLExternally,
openFileNatively,
toggleKeysDialog,
toggleOnboardingDialog,
@@ -74,7 +76,7 @@ class HelpFeedbackPanel extends React.Component<Props> {
<Typography className={classNames(classes.panelTitle, classes.header)} type="subtitle1">Help & Feedback</Typography>
<div className={classes.helpFeedbackArea}>
<List dense={false} component="nav" aria-label="main help area">
- <ListItem button onClick={() => openFileNatively(AppConfig.documentationLinks.general)}>
+ <ListItem button onClick={() => openURLExternally(AppConfig.documentationLinks.general)}>
<ListItemIcon>
<DocumentationIcon />
</ListItemIcon>
@@ -86,7 +88,7 @@ class HelpFeedbackPanel extends React.Component<Props> {
</ListItemIcon>
<ListItemText primary={i18n.t('core:shortcutKeys')} title="" />
</ListItem>
- <ListItem button onClick={() => openFileNatively(AppConfig.links.changelogURL)}>
+ <ListItem button onClick={() => openURLExternally(AppConfig.links.changelogURL)}>
<ListItemIcon>
<ChangeLogIcon />
</ListItemIcon>
@@ -98,26 +100,26 @@ class HelpFeedbackPanel extends React.Component<Props> {
</ListItemIcon>
<ListItemText primary={i18n.t('core:onboardingWizard')} />
</ListItem>
- <ListItem button onClick={() => openFileNatively(AppConfig.links.webClipper)}>
+ <ListItem button onClick={() => openURLExternally(AppConfig.links.webClipper)}>
<ListItemIcon>
<WebClipperIcon />
</ListItemIcon>
<ListItemText primary={i18n.t('core:webClipper')} />
</ListItem>
<Divider />
- <ListItem button onClick={() => openFileNatively(AppConfig.links.suggestFeature)}>
+ <ListItem button onClick={() => openURLExternally(AppConfig.links.suggestFeature)}>
<ListItemIcon>
<NewFeatureIcon />
</ListItemIcon>
<ListItemText primary={i18n.t('core:suggestNewFeatures')} />
</ListItem>
- <ListItem button onClick={() => openFileNatively(AppConfig.links.reportIssue)}>
+ <ListItem button onClick={() => openURLExternally(AppConfig.links.reportIssue)}>
<ListItemIcon>
<IssueIcon />
</ListItemIcon>
<ListItemText primary={i18n.t('core:reportIssues')} />
</ListItem>
- <ListItem button onClick={() => openFileNatively(AppConfig.links.helpTranslating)}>
+ <ListItem button onClick={() => openURLExternally(AppConfig.links.helpTranslating)}>
<ListItemIcon>
<TranslationIcon />
</ListItemIcon>
@@ -130,13 +132,13 @@ class HelpFeedbackPanel extends React.Component<Props> {
</ListItemIcon>
<ListItemText primary={i18n.t('core:emailContact')} />
</ListItem>
- <ListItem button onClick={() => openFileNatively(AppConfig.links.twitter)}>
+ <ListItem button onClick={() => openURLExternally(AppConfig.links.twitter)}>
<ListItemIcon>
<Social2Icon />
</ListItemIcon>
<ListItemText primary={i18n.t('core:followOnTwitter')} />
</ListItem>
- <ListItem button onClick={() => openFileNatively(AppConfig.links.facebook)}>
+ <ListItem button onClick={() => openURLExternally(AppConfig.links.facebook)}>
<ListItemIcon>
<SocialIcon />
</ListItemIcon>
@@ -194,7 +196,7 @@ class HelpFeedbackPanel extends React.Component<Props> {
onClick={(event: any) => {
event.preventDefault();
event.stopPropagation();
- openFileNatively(AppConfig.links.productsOverview);
+ openURLExternally(AppConfig.links.productsOverview);
}}
>Get It</Button>
</CardActions>
diff --git a/app/components/TagLibrary.js b/app/components/TagLibrary.js
index cf603737f..ca72cc8f3 100644
--- a/app/components/TagLibrary.js
+++ b/app/components/TagLibrary.js
@@ -68,7 +68,7 @@ type Props = {
tagBackgroundColor: string,
tagGroups: Array<TagGroup>,
allTags: Array<Tag>,
- openFileNatively: (path: string) => void,
+ openURLExternally: (path: string) => void,
toggleTagGroup: (expanded: boolean, uuid: string) => void,
removeTagGroup: (uuid: string) => void,
moveTagGroupUp: (uuid: string) => void,
@@ -371,7 +371,7 @@ class TagLibrary extends React.Component<Props, State> {
importTagGroups={this.props.importTagGroups}
exportTagGroups={this.props.exportTagGroups}
showCreateTagGroupDialog={this.showCreateTagGroupDialog}
- openFileNatively={this.props.openFileNatively}
+ openURLExternally={this.props.openURLExternally}
/>
<TagMenu
anchorEl={this.state.tagMenuAnchorEl}
@@ -407,7 +407,7 @@ function mapDispatchToProps(dispatch) {
...TagLibraryActions, // TODO connect only the really needed
addTags: TaggingActions.addTags,
collectTagsFromLocation: TaggingActions.collectTagsFromLocation,
- openFileNatively: AppActions.openFileNatively,
+ openURLExternally: AppActions.openURLExternally,
}, dispatch);
}
diff --git a/app/components/VerticalNavigation.js b/app/components/VerticalNavigation.js
index 2f6dc8001..8be0999c6 100644
--- a/app/components/VerticalNavigation.js
+++ b/app/components/VerticalNavigation.js
@@ -170,6 +170,7 @@ type Props = {
openHelpFeedbackPanel: () => void,
closeAllVerticalPanels: () => void,
openFileNatively: (url: string) => void,
+ openURLExternally: (url: string) => void,
switchTheme: () => void,
shouldTogglePanel: string,
currentDirectory: string,
@@ -280,6 +281,7 @@ class VerticalNavigation extends React.Component<Props, State> {
switchTheme,
setManagementPanelVisibility,
openFileNatively,
+ openURLExternally,
setFirstRun
} = this.props;
return (
@@ -355,7 +357,7 @@ class VerticalNavigation extends React.Component<Props, State> {
<ProTeaserDialogAsync
open={this.state.isProTeaserVisible}
onClose={this.toggleProTeaser}
- openFileNatively={openFileNatively}
+ openURLExternally={openURLExternally}
key={uuidv1()}
/>
)}
@@ -560,6 +562,7 @@ class VerticalNavigation extends React.Component<Props, State> {
{ isHelpFeedbackPanelOpened &&
<HelpFeedbackPanel
openFileNatively={openFileNatively}
+ openURLExternally={openURLExternally}
toggleKeysDialog={toggleKeysDialog}
toggleOnboardingDialog={toggleOnboardingDialog}
toggleProTeaser={this.toggleProTeaser}
@@ -614,6 +617,7 @@ function mapActionCreatorsToProps(dispatch) {
openPerspectivesPanel: AppActions.openPerspectivesPanel,
openHelpFeedbackPanel: AppActions.openHelpFeedbackPanel,
openFileNatively: AppActions.openFileNatively,
+ openURLExternally: AppActions.openURLExternally,
closeAllVerticalPanels: AppActions.closeAllVerticalPanels,
switchTheme: SettingsActions.switchTheme,
setFirstRun: SettingsActions.setFirstRun,
diff --git a/app/components/WelcomePanel.js b/app/components/WelcomePanel.js
index 2235410a4..cf83f5a49 100644
--- a/app/components/WelcomePanel.js
+++ b/app/components/WelcomePanel.js
@@ -85,12 +85,13 @@ type Props = {
classes: Object,
setFirstRun: (isFirstRun: boolean) => void,
toggleKeysDialog: () => void,
+ openURLExternally: (url: string) => void,
openFileNatively: (url: string) => void
// locations: Array<Location>
};
const WelcomePanel = (props: Props) => {
- const { classes, openFileNatively, toggleKeysDialog } = props;
+ const { classes, openURLExternally, openFileNatively, toggleKeysDialog } = props;
return (
<div className={classes.mainPanel}>
{/* <div className={classes.slogan}>
@@ -102,7 +103,7 @@ const WelcomePanel = (props: Props) => {
alt="Organize your files"
onClick={() => { props.setFirstRun(!props.isFirstRun) }}
/>
- <ListItem button onClick={() => openFileNatively(AppConfig.documentationLinks.general)}>
+ <ListItem button onClick={() => openURLExternally(AppConfig.documentationLinks.general)}>
<ListItemIcon>
<DocumentationIcon />
</ListItemIcon>
@@ -114,7 +115,7 @@ const WelcomePanel = (props: Props) => {
</ListItemIcon>
<ListItemText primary={i18n.t('core:shortcutKeys')} title="" />
</ListItem>
- <ListItem button onClick={() => openFileNatively(AppConfig.links.changelogURL)}>
+ <ListItem button onClick={() => openURLExternally(AppConfig.links.changelogURL)}>
<ListItemIcon>
<ChangeLogIcon />
</ListItemIcon>
@@ -126,33 +127,33 @@ const WelcomePanel = (props: Props) => {
</ListItemIcon>
<ListItemText primary={i18n.t('core:onboardingWizard')} />
</ListItem> */}
- <ListItem button onClick={() => openFileNatively(AppConfig.links.webClipper)}>
+ <ListItem button onClick={() => openURLExternally(AppConfig.links.webClipper)}>
<ListItemIcon>
<WebClipperIcon />
</ListItemIcon>
<ListItemText primary={i18n.t('core:webClipper')} />
</ListItem>
<Divider />
- <ListItem button onClick={() => openFileNatively(AppConfig.links.suggestFeature)}>
+ <ListItem button onClick={() => openURLExternally(AppConfig.links.suggestFeature)}>
<ListItemIcon>
<NewFeatureIcon />
</ListItemIcon>
<ListItemText primary={i18n.t('core:suggestNewFeatures')} />
</ListItem>
- <ListItem button onClick={() => openFileNatively(AppConfig.links.reportIssue)}>
+ <ListItem button onClick={() => openURLExternally(AppConfig.links.reportIssue)}>
<ListItemIcon>
<IssueIcon />
</ListItemIcon>
<ListItemText primary={i18n.t('core:reportIssues')} />
</ListItem>
- <ListItem button onClick={() => openFileNatively(AppConfig.links.helpTranslating)}>
+ <ListItem button onClick={() => openURLExternally(AppConfig.links.helpTranslating)}>
<ListItemIcon>
<TranslationIcon />
</ListItemIcon>
<ListItemText primary={i18n.t('core:helpWithTranslation')} />
</ListItem>
<Divider />
- <ListItem button onClick={() => openFileNatively(AppConfig.links.emailContact)}>
+ <ListItem button onClick={() => openURLExternally(AppConfig.links.emailContact)}>
<ListItemIcon>
<EmailIcon />
</ListItemIcon>
@@ -164,7 +165,7 @@ const WelcomePanel = (props: Props) => {
</ListItemIcon>
<ListItemText primary={i18n.t('core:followOnTwitter')} />
</ListItem>
- <ListItem button onClick={() => openFileNatively(AppConfig.links.facebook)}>
+ <ListItem button onClick={() => openURLExternally(AppConfig.links.facebook)}>
<ListItemIcon>
<SocialIcon />
</ListItemIcon>
@@ -186,6 +187,7 @@ function mapActionCreatorsToProps(dispatch) {
return bindActionCreators(
{
setFirstRun: SettingsActions.setFirstRun,
+ openURLExternally: AppActions.openURLExternally,
openFileNatively: AppActions.openFileNatively,
toggleKeysDialog: AppActions.toggleKeysDialog,
},
diff --git a/app/components/dialogs/OnboardingDialog.js b/app/components/dialogs/OnboardingDialog.js
index 7ec7c202e..e24621409 100644
--- a/app/components/dialogs/OnboardingDialog.js
+++ b/app/components/dialogs/OnboardingDialog.js
@@ -59,7 +59,7 @@ type Props = {
// setFirstRun: (isFirstRun: boolean) => void,
setPersistTagsInSidecarFile: (isPersistTagsInSidecar: boolean) => void,
setCurrentTheme: () => void,
- openFileNatively: (url: string) => void,
+ openURLExternally: (url: string) => void,
onClose: () => void
};
@@ -224,7 +224,7 @@ class OnboardingDialog extends React.Component<Props, State> {
<Button
style={{ marginTop: 20 }}
onClick={() => {
- this.props.openFileNatively(AppConfig.links.webClipper);
+ this.props.openURLExternally(AppConfig.links.webClipper);
}}
variant="contained"
color="primary"
@@ -333,7 +333,7 @@ function mapActionCreatorsToProps(dispatch) {
setFirstRun: SettingsActions.setFirstRun,
setPersistTagsInSidecarFile: SettingsActions.setPersistTagsInSidecarFile,
setCurrentTheme: SettingsActions.setCurrentTheme,
- openFileNatively: AppActions.openFileNatively
+ openURLExternally: AppActions.openURLExternally
},
dispatch
);
diff --git a/app/components/dialogs/ProTeaserDialog.js b/app/components/dialogs/ProTeaserDialog.js
index f5c6dd0f2..0b67bc3ef 100644
--- a/app/components/dialogs/ProTeaserDialog.js
+++ b/app/components/dialogs/ProTeaserDialog.js
@@ -40,7 +40,7 @@ import AppConfig from '../../config';
type Props = {
open: boolean,
fullScreen: boolean,
- openFileNatively: (url: string) => void,
+ openURLExternally: (url: string) => void,
onClose: () => void
};
@@ -117,7 +117,7 @@ class ProTeaserDialog extends React.Component<Props, State> {
/>
<br />
<Button
- onClick={() => { this.props.openFileNatively(AppConfig.links.productsOverview); }}
+ onClick={() => { this.props.openURLExternally(AppConfig.links.productsOverview); }}
variant="contained"
color="primary"
>Open Product Comparison</Button>
@@ -145,7 +145,7 @@ class ProTeaserDialog extends React.Component<Props, State> {
/>
<br />
<Button
- onClick={() => this.props.openFileNatively(AppConfig.links.productProAdvancedSearch)}
+ onClick={() => this.props.openURLExternally(AppConfig.links.productProAdvancedSearch)}
variant="contained"
color="primary"
>Learn more</Button>
@@ -167,7 +167,7 @@ class ProTeaserDialog extends React.Component<Props, State> {
alt=""
/><br />
<Button
- onClick={() => this.props.openFileNatively(AppConfig.links.productProObjectStore)}
+ onClick={() => this.props.openURLExternally(AppConfig.links.productProObjectStore)}
variant="contained"
color="primary"
>Learn more</Button>
@@ -192,7 +192,7 @@ class ProTeaserDialog extends React.Component<Props, State> {
alt=""
/><br />
<Button
- onClick={() => this.props.openFileNatively(AppConfig.links.productProFileFolderMeta)}
+ onClick={() => this.props.openURLExternally(AppConfig.links.productProFileFolderMeta)}
variant="contained"
color="primary"
>Learn more</Button>
@@ -216,7 +216,7 @@ class ProTeaserDialog extends React.Component<Props, State> {
alt=""
/><br />
<Button
- onClick={() => this.props.openFileNatively(AppConfig.links.productProGeoTagging)}
+ onClick={() => this.props.openURLExternally(AppConfig.links.productProGeoTagging)}
variant="contained"
color="primary"
>Learn more</Button>
@@ -237,7 +237,7 @@ class ProTeaserDialog extends React.Component<Props, State> {
alt=""
/><br />
<Button
- onClick={() => this.props.openFileNatively(AppConfig.links.productProThumbnailsGeneration)}
+ onClick={() => this.props.openURLExternally(AppConfig.links.productProThumbnailsGeneration)}
variant="contained"
color="primary"
>Learn more</Button>
@@ -262,12 +262,12 @@ class ProTeaserDialog extends React.Component<Props, State> {
alt=""
/><br />
<Button
- onClick={() => this.props.openFileNatively(AppConfig.links.productsOverview)}
+ onClick={() => this.props.openURLExternally(AppConfig.links.productsOverview)}
variant="outlined"
color="primary"
>Product Landscape</Button>&nbsp;
<Button
- onClick={() => this.props.openFileNatively('mailto:[email protected]')}
+ onClick={() => this.props.openURLExternally('mailto:[email protected]')}
variant="outlined"
color="primary"
>Contact us</Button>
diff --git a/app/components/menus/TagLibraryMenu.js b/app/components/menus/TagLibraryMenu.js
index 1b5e2ae33..580ef9691 100644
--- a/app/components/menus/TagLibraryMenu.js
+++ b/app/components/menus/TagLibraryMenu.js
@@ -34,7 +34,7 @@ type Props = {
classes: Object,
anchorEl: Object,
tagGroups: Array<Object>,
- openFileNatively: (path: string) => void,
+ openURLExternally: (path: string) => void,
open: boolean,
onClose: () => void,
importTagGroups: () => void,
@@ -165,7 +165,7 @@ const TagLibraryMenu = (props: Props) => {
data-tid="tablibraryHelp"
onClick={() => {
props.onClose();
- props.openFileNatively(AppConfig.documentationLinks.taglibrary)
+ props.openURLExternally(AppConfig.documentationLinks.taglibrary)
}}
>
<ListItemIcon>
diff --git a/app/containers/MainPage.js b/app/containers/MainPage.js
index ee04673db..37016c6f4 100644
--- a/app/containers/MainPage.js
+++ b/app/containers/MainPage.js
@@ -137,6 +137,7 @@ type Props = {
setLastSelectedEntry: (path: string) => void, // needed by electron-menus
openFile: (path: string) => void, // needed by electron-menus
openFileNatively: (url: string) => void, // needed by electron-menus
+ openURLExternally: (url: string) => void, // needed by electron-menus
getNextFile: () => void, // needed by electron-menus
getPrevFile: () => void, // needed by electron-menus
openLocationManagerPanel: () => void,
@@ -600,6 +601,7 @@ function mapDispatchToProps(dispatch) {
setGeneratingThumbnails: AppActions.setGeneratingThumbnails,
openFile: AppActions.openFile,
openFileNatively: AppActions.openFileNatively,
+ openURLExternally: AppActions.openURLExternally,
setEntryFullWidth: AppActions.setEntryFullWidth,
setUpdateAvailable: AppActions.setUpdateAvailable,
getNextFile: AppActions.getNextFile,
diff --git a/app/perspectives/grid-perspective/components/MainContainer.js b/app/perspectives/grid-perspective/components/MainContainer.js
index a81f9d6b0..f4588b67f 100644
--- a/app/perspectives/grid-perspective/components/MainContainer.js
+++ b/app/perspectives/grid-perspective/components/MainContainer.js
@@ -107,6 +107,7 @@ type Props = {
openDirectory: (path: string) => void,
showInFileManager: (path: string) => void,
openFileNatively: (path: string) => void,
+ openURLExternally: (path: string) => void,
loadParentDirectoryContent: () => void,
setLastSelectedEntry: (entryPath: string | null) => void,
setSelectedEntries: (selectedEntries: Array<Object>) => void,
@@ -424,7 +425,7 @@ class GridPerspective extends React.Component<Props, State> {
openHelpWebPage = () => {
this.closeOptionsMenu();
- this.props.openFileNatively(AppConfig.documentationLinks.defaultPerspective);
+ this.props.openURLExternally(AppConfig.documentationLinks.defaultPerspective);
};
handleGridCellDblClick = (event, fsEntry: FileSystemEntry) => {
@@ -1071,6 +1072,7 @@ function mapActionCreatorsToProps(dispatch) {
setSelectedEntries: AppActions.setSelectedEntries,
showNotification: AppActions.showNotification,
openFileNatively: AppActions.openFileNatively,
+ openURLExternally: AppActions.openURLExternally,
addTags: TaggingActions.addTags
}, dispatch);
}
diff --git a/app/reducers/app.js b/app/reducers/app.js
index b22b7ec50..20a597941 100644
--- a/app/reducers/app.js
+++ b/app/reducers/app.js
@@ -1160,6 +1160,9 @@ export const actions = {
openFileNatively: (selectedFile: string) => () => {
PlatformIO.openFile(selectedFile);
},
+ openURLExternally: (url: string, addAppVersion: boolean = false) => () => {
+ PlatformIO.openUrl(url);
+ },
saveFile: () => (
// dispatch: (actions: Object) => void,
// getState: () => Object
diff --git a/app/services/electron-io.js b/app/services/electron-io.js
index 08f195a15..2625b5767 100644
--- a/app/services/electron-io.js
+++ b/app/services/electron-io.js
@@ -794,8 +794,8 @@ export default class ElectronIO {
this.electron.shell.openItem(filePath);
};
- openUrl = (url: string): void => {
- this.electron.shell.openExternal(url);
+ openUrl = (url: string): void => { console.log(url)
+ this.electron.shell.openExternalSync(url);
};
selectFileDialog = (): Promise<any> => {
diff --git a/app/services/electron-menus.js b/app/services/electron-menus.js
index 0fc243839..dc00df815 100644
--- a/app/services/electron-menus.js
+++ b/app/services/electron-menus.js
@@ -260,7 +260,7 @@ export default function buildDesktopMenu(mainPageProps: Object) {
label: '&' + i18n.t('core:documentation'),
accelerator: mainPageProps.keyBindings.showHelp,
click: () => {
- // mainPageProps.openFileNatively(AppConfig.documentationLinks.general);
+ // mainPageProps.openURLExternally(AppConfig.documentationLinks.general);
mainPageProps.openHelpFeedbackPanel();
}
},
@@ -279,7 +279,7 @@ export default function buildDesktopMenu(mainPageProps: Object) {
{
label: '&' + i18n.t('core:whatsNew'),
click: () => {
- mainPageProps.openFileNatively(AppConfig.links.changelogURL);
+ mainPageProps.openURLExternally(AppConfig.links.changelogURL);
}
},
{
@@ -288,13 +288,13 @@ export default function buildDesktopMenu(mainPageProps: Object) {
{
label: '&' + i18n.t('core:likeUsOnFacebook'),
click: () => {
- mainPageProps.openFileNatively(AppConfig.links.facebook);
+ mainPageProps.openURLExternally(AppConfig.links.facebook);
}
},
{
label: '&' + i18n.t('core:followOnTwitter'),
click: () => {
- mainPageProps.openFileNatively(AppConfig.links.twitter);
+ mainPageProps.openURLExternally(AppConfig.links.twitter);
}
},
{
@@ -303,13 +303,13 @@ export default function buildDesktopMenu(mainPageProps: Object) {
{
label: '&' + i18n.t('core:suggestNewFeatures'),
click: () => {
- mainPageProps.openFileNatively(AppConfig.links.suggestFeature);
+ mainPageProps.openURLExternally(AppConfig.links.suggestFeature);
}
},
{
label: '&' + i18n.t('core:reportIssues'),
click: () => {
- mainPageProps.openFileNatively(AppConfig.links.reportIssue);
+ mainPageProps.openURLExternally(AppConfig.links.reportIssue);
}
},
{
@@ -318,13 +318,13 @@ export default function buildDesktopMenu(mainPageProps: Object) {
{
label: i18n.t('core:webClipperChrome'),
click: () => {
- mainPageProps.openFileNatively(AppConfig.links.webClipperChrome);
+ mainPageProps.openURLExternally(AppConfig.links.webClipperChrome);
}
},
{
label: i18n.t('core:webClipperFirefox'),
click: () => {
- mainPageProps.openFileNatively(AppConfig.links.webClipperFirefox);
+ mainPageProps.openURLExternally(AppConfig.links.webClipperFirefox);
}
},
{