Commits

cleonello  committed b833a0e

Fix bug where check for dataRenderer would crash if no options present.

  • Participants
  • Parent commits c13aefa

Comments (0)

Files changed (1)

File src/jqplot.core.js

         // sets the plot target, checks data and applies user
         // options to plot.
         this.init = function(target, data, options) {
+            options = options || {};
             for (var i=0; i<$.jqplot.preInitHooks.length; i++) {
                 $.jqplot.preInitHooks[i].call(this, target, data, options);
             }