lib/bundle-manager.js
function isPanelHTMLFile(bundleName, filePath) {
	const bundle = module.exports.find(bundleName);
	if (bundle) {
		return bundle.dashboard.panels.some(panel => {
			return panel.path.endsWith(filePath);
		});
	}

	return false;
}
function isPanelHTMLFile(bundleName, filePath) {
	const bundle = module.exports.find(bundleName);
	if (bundle) {
		return bundle.dashboard.panels.some(panel => {
			return panel.path.endsWith(filePath);
		});
	}

	return false;
}
function isPanelHTMLFile ( bundleName , filePath ) { const bundle = module . exports . find ( bundleName ) ; if ( bundle ) { return bundle . dashboard . panels . some ( panel => { return panel . path . endsWith ( filePath ) ; } ) ; } return false ; }
Checks if a given path is a panel HTML file of a given bundle.
@param bundleName {String}
@param filePath {String}
@returns {Boolean}
@private
Checks if a given path is a panel HTML file of a given bundle .