diff --git a/panels/sort/module.js b/panels/sort/module.js index 064f43beafe..8bcb07823e7 100644 --- a/panels/sort/module.js +++ b/panels/sort/module.js @@ -1,3 +1,25 @@ +/* + + ## Sort + + This will probably be removed in the near future since it only interacts with + the table panel and the table panel already implements all of its functionality. + It only interacts with the table panel in any case + + ### Parameters + * label :: The label to stick over the drop down + * sort :: An array where the first elemetn is the field to sort on an the second + is the direction ('asc' or 'desc') + ### Group Events + #### Sends + * sort :: An array where the first elemetn is the field to sort on an the second + is the direction ('asc' or 'desc') + #### Receives + * fields :: An array containing the fields in a table. This will be concat'd + + uniqued with the curent list. + +*/ + angular.module('kibana.sort', []) .controller('sort', function($scope, eventBus) { diff --git a/panels/stringquery/module.js b/panels/stringquery/module.js index ca34045a83d..f2281f10a3b 100644 --- a/panels/stringquery/module.js +++ b/panels/stringquery/module.js @@ -1,3 +1,25 @@ +/* + + ## Sort + + This will probably be removed in the near future since it only interacts with + the table panel and the table panel already implements all of its functionality. + It only interacts with the table panel in any case + + ### Parameters + * label :: The label to stick over the drop down + * sort :: An array where the first elemetn is the field to sort on an the second + is the direction ('asc' or 'desc') + ### Group Events + #### Sends + * sort :: An array where the first elemetn is the field to sort on an the second + is the direction ('asc' or 'desc') + #### Receives + * fields :: An array containing the fields in a table. This will be concat'd + + uniqued with the curent list. + +*/ + angular.module('kibana.stringquery', []) .controller('stringquery', function($scope, eventBus) {