summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-16 19:44:37 +0000
committerSarven Capadisli <csarven@status.net>2010-01-24 00:18:39 +0100
commit68c864c95a10b9018862c8ff3677c1185f1df496 (patch)
treeb80605f2f5395174502f30ad065d7b06ae5e33db
parentab53a8704b13a20f8ae885d2b92883e0c7101424 (diff)
JSLinting on JSON
-rw-r--r--js/util.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/js/util.js b/js/util.js
index a749c5d9f..2d19b8df2 100644
--- a/js/util.js
+++ b/js/util.js
@@ -529,13 +529,13 @@ var SN = { // StatusNet
$('#'+SN.C.S.NoticeDataGeo).attr('checked', true);
var cookieValue = {
- 'NLat': data.lat,
- 'NLon': data.lon,
- 'NLNS': lns,
- 'NLID': lid,
- 'NLN': NLN_text,
- 'NLNU': location.url,
- 'NDG': true
+ NLat: data.lat,
+ NLon: data.lon,
+ NLNS: lns,
+ NLID: lid,
+ NLN: NLN_text,
+ NLNU: location.url,
+ NDG: true
};
$.cookie(SN.C.S.NoticeDataGeoCookie, JSON.stringify(cookieValue));
});
@@ -570,9 +570,9 @@ var SN = { // StatusNet
$('#'+SN.C.S.NoticeLon).val(position.coords.longitude);
var data = {
- 'lat': position.coords.latitude,
- 'lon': position.coords.longitude,
- 'token': $('#token').val()
+ lat: position.coords.latitude,
+ lon: position.coords.longitude,
+ token: $('#token').val()
};
getJSONgeocodeURL(geocodeURL, data);