diff --git a/js/jqplot/jquery.jqplot.js b/js/jqplot/jquery.jqplot.js index 3c620f2e3e..3e767e8643 100644 --- a/js/jqplot/jquery.jqplot.js +++ b/js/jqplot/jquery.jqplot.js @@ -5,7 +5,8 @@ * * About: Version * - * 1.0.0b2_r1012 + * version: 1.0.2 + * revision: 1108 * * About: Copyright & License * @@ -89,11 +90,11 @@ for ( var i = 0, elem; (elem = $(this)[i]) != null; i++ ) { // Remove element nodes and prevent memory leaks if ( elem.nodeType === 1 ) { - jQuery.cleanData( elem.getElementsByTagName("*") ); + $.cleanData( elem.getElementsByTagName("*") ); } // Remove any remaining nodes - if ($.jqplot_use_excanvas) { + if ($.jqplot.use_excanvas) { elem.outerHTML = ""; } else { @@ -115,6 +116,56 @@ } }; + $.fn.jqplot = function() { + var datas = []; + var options = []; + // see how many data arrays we have + for (var i=0, l=arguments.length; i