codeeu / coding-events

A Django app for adding EU Code Week events and showing them on a map.
http://events.codeweek.eu
MIT License
17 stars 36 forks source link

SyntaxError: JSON.parse: unexpected character #109

Closed sparkica closed 10 years ago

sparkica commented 10 years ago

Issue in cw-maps.js (vrstica 15) Error: SyntaxError: JSON.parse: unexpected character

function createMap(events, lat, lng, zoomVal) { -> var markerData = JSON.parse(events),

Test data: Organized by:

CodeCatz Happening at: Ljubljana, Slovenija

From sreda, Mar 26, 2014 at 18:00 to sreda, Mar 26, 2014 at 22:00 Description:

We'll be testing new features for code.eu This event is for:

Other (see description) Main themes:

Web development Tags:

test, programming

sparkica commented 10 years ago

Figured out why this is happening: we're already passing JSON, no need to parse it.