keithclark / gadebugger

A Chrome, Firefox & Opera devtools extension for debugging Google Analytics tracking code
https://keithclark.github.io/gadebugger/
MIT License
238 stars 65 forks source link

Firefox 48 error #34

Closed keithclark closed 8 years ago

keithclark commented 8 years ago

Fix for #33.

As of Firefox 48, the localization helper in ViewHelpers.jsm has been removed from and given it's own home. This caused GADebugger to throw a reference error during startup. This fix references the new file location.

As of Firefox 50 (and possibly 49), some devtools JSM modules have been converted to commonJS format which causes GADebugger to fail during startup. This fix replaces the ResourceHelpers module with a ResourceLoader to handle loading modules in both JSM and commonJS format, maintaining support for older versions of Firefox.

Finally, this also tweaks the UI in Firefox so it uses icons as of FF50.