Changes

Jump to navigation Jump to search
no edit summary
Line 14: Line 14:  
// get wbEntity as json
 
// get wbEntity as json
 
var obj = JSON.parse ( mw.config.values.wbEntity );
 
var obj = JSON.parse ( mw.config.values.wbEntity );
console.log( "parsed object" )
+
console.log( "parsed object", obj )
 
// check if we have P3 relations and iterate through
 
// check if we have P3 relations and iterate through
 
if ( typeof check( obj, wbEStruct["instanceOfRelations"] ) != "undefined" ) {
 
if ( typeof check( obj, wbEStruct["instanceOfRelations"] ) != "undefined" ) {

Navigation menu