in app/scripts/core/apiProvider.js [114:127]
storeNodeCoords: function(nodeId, coords) {
if(!Ember.isNone(localStorage)) {
var storedCoords = {};
if(!Ember.isNone(localStorage.coords)) {
try{
storedCoords = JSON.parse(localStorage.coords);
} catch(e) {
//ignore this if not json
}
}
storedCoords[nodeId] = coords;
localStorage.coords = JSON.stringify(storedCoords);
}
},