Skip to content

Commit

Permalink
Fixed duplicated export and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
offtherailz committed Apr 20, 2017
1 parent 563a90e commit 04e081a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions web/client/actions/globeswitcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
const TOGGLE_3D = "TOGGLE_3D";
const UPDATE_LAST_2D_MAPTYPE = "UPDATE_LAST_2D_MAPTYPE";
/**
* when 3d mode have to be toggled
* Emitted when 3d map have to be toggled
* @memberof actions.globeswitcher
* @param {boolean} enable true for enable, false for disable
* @return {action} the action of type `TOGGLE_FULLSCREEN` with enable flag and element selector.
Expand All @@ -29,7 +29,7 @@ function toggle3d(enable, originalMapType) {
};
}
/**
* saves the last 2d map
* Saves the last 2d map
* @memberof actions.globeswitcher
* @param {string} mapType last maptype
* @return {object} action
Expand Down
2 changes: 1 addition & 1 deletion web/client/components/buttons/FullScreenButton.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/*
* Copyright 2017, GeoSolutions Sas.
* All rights reserved.
*
Expand Down
5 changes: 0 additions & 5 deletions web/client/epics/globeswitcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ const updateRouteOn3dSwitch = (action$, store) =>
}
Rx.Observable.of(updateLast2dMapType(action.mapType));
});

module.exports = {
updateRouteOn3dSwitch
};

/**
* Epics for 3d switcher functionality
* @name epics.globeswitcher
Expand Down
1 change: 1 addition & 0 deletions web/client/epics/maptype.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { UPDATE_LOCATION } from 'react-router-redux';

/**
* keep the default mapType in sync when change the URL of the map for viewer
* @memberof epics.maptype
* @param {external:Observable} action$ the stream of actions, acts on `UPDATE_LOCATION`
* @param {object} store the store middleware API from redux `createMiddleware`
* @return {external:Observable} the stream of the actions to emit. (`changeMapType`)
Expand Down
2 changes: 1 addition & 1 deletion web/client/plugins/searchbar/ToggleButton.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
/*
* Copyright 2016, GeoSolutions Sas.
* All rights reserved.
*
Expand Down

0 comments on commit 04e081a

Please sign in to comment.