O'Reilly logo
  • Pratyush Mishra thinks this is interesting:

window.com_packtpub_vaadin_Highcharts = function() {

  this.onStateChange = function() {
    var chart = new Highcharts.Chart(this.getState().data);
  }
}

From

Cover of Vaadin 7 Cookbook

Note

//Snippet