fix(search): correct minification meta-data

Closes #521
This commit is contained in:
Nico Rehwaldt 2016-04-28 20:41:49 +02:00
parent b9b64f589b
commit b0eea3dbef
1 changed files with 4 additions and 4 deletions

View File

@ -10,16 +10,16 @@ var labelUtil = require('../label-editing/LabelUtil');
/** /**
* Provides ability to search through BPMN elements * Provides ability to search through BPMN elements
*/ */
function Search(elementRegistry, searchPad) { function BpmnSearchProvider(elementRegistry, searchPad) {
this._elementRegistry = elementRegistry; this._elementRegistry = elementRegistry;
searchPad.registerProvider(this); searchPad.registerProvider(this);
} }
module.exports = Search; module.exports = BpmnSearchProvider;
Search._inject = [ BpmnSearchProvider.$inject = [
'elementRegistry', 'elementRegistry',
'searchPad' 'searchPad'
]; ];
@ -43,7 +43,7 @@ Search._inject = [
* @param {String} pattern * @param {String} pattern
* @return {Array<Result>} * @return {Array<Result>}
*/ */
Search.prototype.find = function(pattern) { BpmnSearchProvider.prototype.find = function(pattern) {
var elements = this._elementRegistry.filter(function(element) { var elements = this._elementRegistry.filter(function(element) {
if (element.labelTarget) { if (element.labelTarget) {
return false; return false;