Changes

Jump to navigation Jump to search
m
no edit summary
Line 79: Line 79:     
function get_Y_from_X( obj, B ){
 
function get_Y_from_X( obj, B ){
if ( typeof check(obj, B) !=  undefined ) {
+
if ( check(obj, B) !=  undefined ) {
 
console.log( "entity is defined" )
 
console.log( "entity is defined" )
 
return dive(obj, B);
 
return dive(obj, B);
Line 86: Line 86:     
function interjson(obj) {
 
function interjson(obj) {
var ne;
   
try {
 
try {
ne = JSON.parse( obj )
+
return JSON.parse( obj )
 
} catch (e) {
 
} catch (e) {
 
// if not JSON, do silly things
 
// if not JSON, do silly things
 
   };
 
   };
  return ne;
+
 
 
}
 
}
  
530

edits

Navigation menu