From 2c0e869df84c4f86b5c0f10e723c63a59975da4e Mon Sep 17 00:00:00 2001 From: Luca Milanesio Date: Thu, 31 Jul 2014 12:15:28 +0100 Subject: [PATCH] Include jquery.flot.stack* for using in multiple panels When using multiple panels that use the stacked graphs (e.g. histogram and multifieldhistogram) we need to inform grunt-requirejs plugin that jquery.flot.stack* is one the modules to prevent double-inclusion and then problems in the histogram rendering. See https://github.com/elasticsearch/kibana/pull/1296 NOTE: this change is needed for getting pull#1296 to work properly but can be merged indipendently from it. --- tasks/options/requirejs.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/options/requirejs.js b/tasks/options/requirejs.js index 3c71c5a959676..c31207057b97a 100644 --- a/tasks/options/requirejs.js +++ b/tasks/options/requirejs.js @@ -53,6 +53,8 @@ module.exports = function(config,grunt) { 'lodash', 'filters/all', 'jquery.flot', + 'jquery.flot.stack', + 'jquery.flot.stackpercent', 'services/all', 'angular-strap', 'directives/all',