Javascript SDK injecting interfering CSS

I’ve started building several apps using Ionic Framework and just dug into the Javascript SDK for a slightly easier library. Sadly, it looks like //cdn.jsdelivr.net/sparkjs/0.2.4/spark.min.js is injecting some inline CSS that breaks the .modal styles in Ionic.

Any way to rename, prevent or disable this behavior without modifying the spark.min.js? I would rather pull from a CDN instead of a local file…

Linking issue: https://github.com/spark/sparkjs/issues/45

Patch with pull request: : https://github.com/spark/sparkjs/pull/46

1 Like