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