MediaWiki:Common.js: Difference between revisions

From Vintage Story Wiki
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
importScript('https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.10/d3.min.js');
importScript('http://code.jquery.com/jquery-1.11.3.min.js');
/*importScript('http://code.jquery.com/jquery-1.11.3.min.js');*/


jQuery.fn.extend({
$(document).ready(function () {
alert('ready');
$("#treeviewtable").treetable();
});
 
/*importScript('https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.10/d3.min.js');*/
 
/*jQuery.fn.extend({
treetable: function() {
treetable: function() {
var $table = $(this);
var $table = $(this);
Line 137: Line 143:
});
});
}
}
});
});*/
 
$(document).ready(function () {
alert('ready');
$("#treeviewtable").treetable();
});
Confirmedusers, editor, Administrators
886

edits