From 5e527cdb226720854f8fdc0ef50680e977f805a5 Mon Sep 17 00:00:00 2001 From: BeeJay Date: Mon, 31 Oct 2016 13:07:21 +1100 Subject: [PATCH] Compatibility with Kibana 5.0 per Issue #12 As per your note on: https://github.com/stormpython/tagcloud/issues/12 ranahaarb commented 16 hours ago It works for kibana 5, only with a bit changes: In the file "tagcloud/public/cloud.js", line 6 and 7 must be changed to: var TemplateVisType = Private(require('ui/template_vis_type/template_vis_type')); var Schemas = Private(require('ui/vis/schemas')); --- public/cloud.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/cloud.js b/public/cloud.js index 7da6c9e..1c36aaf 100644 --- a/public/cloud.js +++ b/public/cloud.js @@ -3,8 +3,8 @@ require('plugins/tagcloud/lib/cloud_controller.js'); require('plugins/tagcloud/lib/cloud_directive.js'); function TagCloudProvider(Private) { - var TemplateVisType = Private(require('ui/template_vis_type/TemplateVisType')); - var Schemas = Private(require('ui/Vis/Schemas')); + var TemplateVisType = Private(require('ui/template_vis_type/template_vis_type')); + var Schemas = Private(require('ui/Vis/schemas')); return new TemplateVisType({ name: 'tagcloud',