)]}'
{"horizon/static/horizon/js/horizon.d3barchart.js":[{"author":{"_account_id":7976,"name":"Maxime Vidori","email":"mvidori@redhat.com","username":"MaxV"},"change_message_id":"477cc9cdb28f690e101fbb63e0966b184cd21836","unresolved":false,"context_lines":[{"line_number":239,"context_line":"     * Obtains the actual chart data and renders the chart again."},{"line_number":240,"context_line":"     */"},{"line_number":241,"context_line":"    self.refresh \u003d function(){"},{"line_number":242,"context_line":"      var self \u003d this;"},{"line_number":243,"context_line":"      // Clear the chart before rendering it"},{"line_number":244,"context_line":"      $(self.html_element).html(\u0027\u0027);"},{"line_number":245,"context_line":"      self.render();"}],"source_content_type":"text/javascript","patch_set":2,"id":"AAAAW3%2F%2FWlU%3D","line":242,"updated":"2014-04-15 08:03:32.000000000","message":"You do not need to wrap the html element in jquery as long as it is already available with self.jquery_element. Moreover, do not use $.html(\u0027\u0027), instead use $.empty(), performance are much better because it directly call the native function which will remove all the child elements; this is also more explicit.","commit_id":"b9c2a77f553709e39712a0e670725450636b3603"},{"author":{"_account_id":9317,"name":"Ana Krivokapic","email":"akrivoka@redhat.com","username":"akrivoka"},"change_message_id":"9e8fa80b3c4bb9f112f6f58437f0adccb8a2ed17","unresolved":false,"context_lines":[{"line_number":239,"context_line":"     * Obtains the actual chart data and renders the chart again."},{"line_number":240,"context_line":"     */"},{"line_number":241,"context_line":"    self.refresh \u003d function(){"},{"line_number":242,"context_line":"      var self \u003d this;"},{"line_number":243,"context_line":"      // Clear the chart before rendering it"},{"line_number":244,"context_line":"      $(self.html_element).html(\u0027\u0027);"},{"line_number":245,"context_line":"      self.render();"}],"source_content_type":"text/javascript","patch_set":2,"id":"AAAAW3%2F%2FVws%3D","line":242,"in_reply_to":"AAAAW3%2F%2FWlU%3D","updated":"2014-04-15 09:29:59.000000000","message":"Thanks for the tips, fixed.","commit_id":"b9c2a77f553709e39712a0e670725450636b3603"}]}
