Skip to content
This repository was archived by the owner on Feb 28, 2022. It is now read-only.

Commit 1273a7f

Browse files
committedMay 18, 2016
chore(qa): fix jshint reported issues on style
1 parent a55a3ee commit 1273a7f

File tree

3 files changed

+43
-43
lines changed

3 files changed

+43
-43
lines changed
 

‎src/overpass/overpass.service.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function osmOverpassAPI($http, $q, osmSettingsService, options) {
8282
}
8383
}
8484
return cache[id];
85-
};
85+
}
8686
for (var i = 0; i < data.elements.length; i++) {
8787
node = data.elements[i];
8888
if (node.type === 'node') {

‎src/togeojson/togeojson.factory.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ function factory(options) {
234234
res.features = getFeatures(data);
235235
}
236236
return res;
237-
};
237+
}
238238

239239
}
240240

‎src/togeojson/togeojson.spec.js

+41-41
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ ngDescribe({
9898
_v: 'mini_roundabout'
9999
},
100100
nd: [{
101-
_ref: "1"
101+
_ref: '1'
102102
},
103103
{
104-
_ref: "2"
104+
_ref: '2'
105105
}]
106106
}}};
107107
var nodes = deps.osmtogeojson.getNodes(data);
@@ -130,32 +130,32 @@ ngDescribe({
130130
_v: 'mini_roundabout'
131131
},
132132
nd: [{
133-
_ref: "1"
133+
_ref: '1'
134134
},
135135
{
136-
_ref: "2"
136+
_ref: '2'
137137
}]
138138
}, relation: {
139139
_id: 1,
140140
member: [
141141
{
142-
_type: "way",
143-
_ref: "1",
144-
_role: "outer"
142+
_type: 'way',
143+
_ref: '1',
144+
_role: 'outer'
145145
},
146146
{
147-
_type: "node",
148-
_ref: "1",
149-
_role: "outer"
147+
_type: 'node',
148+
_ref: '1',
149+
_role: 'outer'
150150
}
151151
], tag: [
152152
{
153-
_k: "access",
154-
_v: "yes"
153+
_k: 'access',
154+
_v: 'yes'
155155
},
156156
{
157-
_k: "area",
158-
_v: "yes"
157+
_k: 'area',
158+
_v: 'yes'
159159
}
160160
]
161161
}}};
@@ -186,32 +186,32 @@ ngDescribe({
186186
_v: 'mini_roundabout'
187187
},
188188
nd: [{
189-
_ref: "1"
189+
_ref: '1'
190190
},
191191
{
192-
_ref: "2"
192+
_ref: '2'
193193
}]
194194
}, relation: {
195195
_id: 1,
196196
member: [
197197
{
198-
_type: "way",
199-
_ref: "1",
200-
_role: "outer"
198+
_type: 'way',
199+
_ref: '1',
200+
_role: 'outer'
201201
},
202202
{
203-
_type: "node",
204-
_ref: "1",
205-
_role: "outer"
203+
_type: 'node',
204+
_ref: '1',
205+
_role: 'outer'
206206
}
207207
], tag: [
208208
{
209-
_k: "access",
210-
_v: "yes"
209+
_k: 'access',
210+
_v: 'yes'
211211
},
212212
{
213-
_k: "area",
214-
_v: "yes"
213+
_k: 'area',
214+
_v: 'yes'
215215
}
216216
]
217217
}}};
@@ -303,7 +303,7 @@ ngDescribe({
303303
type: 'node',
304304
latLng: [1234, 2345],
305305
tags: {name: 'my node 2'}
306-
}
306+
};
307307
var data = [{
308308
id: 1,
309309
type: 'way',
@@ -333,13 +333,13 @@ ngDescribe({
333333
type: 'node',
334334
latLng: [12, 23],
335335
tags: {name: 'my node 2'}
336-
}
336+
};
337337
var n3 = {
338338
id: 3,
339339
type: 'node',
340340
latLng: [123, 234],
341341
tags: {name: 'my node 2'}
342-
}
342+
};
343343
var data = [{
344344
id: 1,
345345
type: 'way',
@@ -380,32 +380,32 @@ ngDescribe({
380380
_v: 'mini_roundabout'
381381
},
382382
nd: [{
383-
_ref: "1"
383+
_ref: '1'
384384
},
385385
{
386-
_ref: "2"
386+
_ref: '2'
387387
}]
388388
}, relation: {
389389
_id: 1,
390390
member: [
391391
{
392-
_type: "way",
393-
_ref: "1",
394-
_role: "outer"
392+
_type: 'way',
393+
_ref: '1',
394+
_role: 'outer'
395395
},
396396
{
397-
_type: "node",
398-
_ref: "1",
399-
_role: "outer"
397+
_type: 'node',
398+
_ref: '1',
399+
_role: 'outer'
400400
}
401401
], tag: [
402402
{
403-
_k: "access",
404-
_v: "yes"
403+
_k: 'access',
404+
_v: 'yes'
405405
},
406406
{
407-
_k: "area",
408-
_v: "yes"
407+
_k: 'area',
408+
_v: 'yes'
409409
}
410410
]
411411
}}};

0 commit comments

Comments
 (0)
This repository has been archived.