Changes

Jump to navigation Jump to search
no edit summary
Line 23: Line 23:  
     // get the ID of the current page
 
     // get the ID of the current page
 
var pageID = document.querySelector('.wikibase-title .wikibase-title-id').innerText.replace( /[()]/g, '' );
 
var pageID = document.querySelector('.wikibase-title .wikibase-title-id').innerText.replace( /[()]/g, '' );
     console.log(pageID);
+
     //console.log(pageID);
    
     if (isDataController(entity)) {
 
     if (isDataController(entity)) {
Line 45: Line 45:  
}
 
}
 
return foundThatThisIsAnInstanceOfDataController;
 
return foundThatThisIsAnInstanceOfDataController;
 +
}
 +
 +
function dive(array, read){
 +
return read.split('.').reduce(indexinterpolate, array);
 +
}
 +
 +
function check(array, read){
 +
        return read.split('.').reduce(indexcheck, array);
 
}
 
}
editors
3,524

edits

Navigation menu