geostyler / geostyler-legend

Small library to render map legends with OpenLayers and d3
BSD 2-Clause "Simplified" License
12 stars 9 forks source link

Forgotten debugger; #314

Closed raitisbe closed 3 years ago

raitisbe commented 3 years ago

Bug

Describe the bug There seems to be a leftover debugger; line in the published dist build, which pauses any application using geostyler-legend when developer tools are opened.

To Reproduce Steps to reproduce the behavior:

  1. Open https://unpkg.com/geostyler-legend@2.1.0/dist/LegendRenderer/LegendRenderer.js
  2. Ctrl+F and input 'debugger'
    case 1:
                        _a = _b.sent(), olStyle = _a.output, errors = _a.errors;
                        debugger;
                        if (errors) {

Expected behavior All debugger; lines removed

KaiVolland commented 3 years ago

Bugfix release is done. Compare https://unpkg.com/geostyler-legend@2.1.1/dist/LegendRenderer/LegendRenderer.js