Skip to content

Commit

Permalink
lint free
Browse files Browse the repository at this point in the history
  • Loading branch information
iled committed Jul 15, 2016
1 parent f7dc97e commit 131ed06
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 27 deletions.
18 changes: 9 additions & 9 deletions viewer/js/config/basemaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ define([
/ otherwise uses keys in basemaps object below
/ values in array must match keys in basemaps object
*/
//basemapsToShow: ['streets', 'satellite', 'hybrid', 'topo', 'lightGray', 'gray', 'nationalGeographic', 'osm', 'oceans'],
//basemapsToShow: ['streets', 'satellite', 'hybrid', 'topo', 'lightGray', 'gray', 'national-geographic', 'osm', 'oceans'],

// define all valid basemaps here.
basemaps: {
streets: {
title: i18n.basemaps.streets
},
streetsNightVector: { // requires v3.16 or higher
'streets-night-vector': { // requires v3.16 or higher
title: i18n.basemaps.streetsNightVector
},
streetsNavigationVector: { // requires v3.16 or higher
'streets-navigation-vector': { // requires v3.16 or higher
title: i18n.basemaps.streetsNavigationVector
},
streetsReliefVector: { // requires v3.16 or higher
'streets-relief-vector': { // requires v3.16 or higher
title: i18n.basemaps.streetsReliefVector
},
satellite: {
Expand All @@ -47,16 +47,16 @@ define([
terrain: {
title: i18n.basemaps.terrain
},
grayVector: { // requires v3.16 or higher
'gray-vector': { // requires v3.16 or higher
title: i18n.basemaps.grayVector
},
darkGrayVector: { // requires v3.16 or higher
'dark-gray-vector': { // requires v3.16 or higher
title: i18n.basemaps.darkGrayVector
},
oceans: {
title: i18n.basemaps.oceans
},
nationalGeographic: {
'national-geographic': {
title: i18n.basemaps.nationalGeographic
},
osm: {
Expand Down Expand Up @@ -142,7 +142,7 @@ define([
]
}
},
darkGrayVector: {
'dark-gray-vector': {
title: 'Dark Gray Canvas',
basemap: {
baseMapLayers: [
Expand All @@ -164,7 +164,7 @@ define([
]
}
},
streetsNightVector: {
'streets-night-vector': {
title: 'Streets Night',
basemap: {
baseMapLayers: [
Expand Down
2 changes: 1 addition & 1 deletion viewer/js/config/bookmarks.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ define([
name: i18n.bookmarks.nullIsland
}
]
}
};
});
2 changes: 1 addition & 1 deletion viewer/js/config/find.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,5 @@ define([
}
},
selectionMode: 'extended'
}
};
});
2 changes: 1 addition & 1 deletion viewer/js/config/identify.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ define([
}
}
}
}
};
});
4 changes: 2 additions & 2 deletions viewer/js/gis/dijit/Basemaps/nls/pt-pt/resource.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
define ({
title: 'Mapas base'
define({
title: 'Mapas base'
});
4 changes: 2 additions & 2 deletions viewer/js/gis/dijit/Directions/nls/pt-pt/resource.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
define ({
labels: {
define({
labels: {
startAtMyLocation: 'iniciar na minha localização',
endAtMyLocation: 'terminar na minha localização',
clearStops: 'limpar paragens',
Expand Down
4 changes: 2 additions & 2 deletions viewer/js/gis/dijit/Draw/nls/pt-pt/resource.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
define ({
labels: {
define({
labels: {
point: 'Ponto',
circle: 'Círculo',
polyline: 'Polilinha',
Expand Down
4 changes: 2 additions & 2 deletions viewer/js/gis/dijit/Editor/nls/pt-pt/resource.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
define ({
labels: {
define({
labels: {
startEditing: 'Iniciar edição',
stopEditing: 'Parar edição'
}
Expand Down
2 changes: 1 addition & 1 deletion viewer/js/gis/dijit/Find/nls/pt-pt/resource.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// http://dojotoolkit.org/reference-guide/1.10/dojo/i18n.html
define({
selectQuery: 'Seleccionar consulta',
selectQuery: 'Seleccionar consulta',
searchText: {
label: 'Procurar por',
placeholder: 'Introduza o texto que pretende procurar.'
Expand Down
4 changes: 2 additions & 2 deletions viewer/js/gis/dijit/Geocoder/nls/pt-pt/resource.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
define ({
title: 'Alternar barra de pesquisa',
define({
title: 'Alternar barra de pesquisa',
labels: {
address: 'Endereço',
neighborhood: 'Bairro',
Expand Down
4 changes: 2 additions & 2 deletions viewer/js/gis/dijit/Identify/nls/pt-pt/resource.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
define ({
labels: {
define({
labels: {
selectLayer: 'Escolher "Todas as camadas visíveis" ou uma única camada para identificar:',
allVisibleLayers: '*** Todas as camadas visíveis ***'
},
Expand Down
2 changes: 1 addition & 1 deletion viewer/js/gis/dijit/LayerControl/nls/pt-pt/resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// https://github.com/cmv/cmv-app/issues and someone will assist
// if need be or checkout the link above and submit a PR
define({
noLegend: 'Sem legenda',
noLegend: 'Sem legenda',
moveUp: 'Mover para cima',
moveDown: 'Mover para baixo',
zoomTo: 'Aproximar à Camada',
Expand Down
2 changes: 1 addition & 1 deletion viewer/js/gis/dijit/Print/nls/pt-pt/resource.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// http://dojotoolkit.org/reference-guide/1.10/dojo/i18n.html
define({
title: 'Título',
title: 'Título',
format: 'Formato',
layout: 'Modelo',
settings: 'Configurações',
Expand Down

0 comments on commit 131ed06

Please sign in to comment.