We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 8896df22 authored by Sarven Capadisli's avatar Sarven Capadisli

JSLinting on JSON

parent 6494cb17
......@@ -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
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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment