summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-16 19:44:37 +0000
committerSarven Capadisli <csarven@status.net>2010-01-16 19:44:37 +0000
commit8896df22af2f5c22329a81305fd1011d3dfa347e (patch)
tree015cad32a77daaff813bb5947e236ed7d1472ea3 /js
parent6494cb17e93e22e1cc892876350333278b2aadfa (diff)
JSLinting on JSON
Diffstat (limited to 'js')
-rw-r--r--js/util.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/js/util.js b/js/util.js
index 88016bd6d..ef28f31e8 100644
--- a/js/util.js
+++ b/js/util.js
@@ -525,13 +525,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));
});
@@ -566,9 +566,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);