MediaWiki:Common.js
From FridaV
var chart = { | var chart = { | ||
init: function() { | init: function() { | ||
| - | console.log('Magic flot | + | $('table.flot') { |
| + | console.log('Magic flot table '+this.attr(id)); | ||
| + | } | ||
} | } | ||
} | } | ||
$(document).ready(chart.init); | $(document).ready(chart.init); | ||
Revision as of 20:58, 4 April 2009
/* Any JavaScript here will be loaded for all users on every page load. */
var chart = {
init: function() {
$('table.flot') {
console.log('Magic flot table '+this.attr(id));
}
}
}
$(document).ready(chart.init);
