src/directives/glInteractive.js
Function mapboxGlInteractiveDirectiveLink
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function mapboxGlInteractiveDirectiveLink (scope, element, attrs, controller) {
if (!controller) {
throw new Error('Invalid angular-mapboxgl-directive controller');
}