thoughtbot / carnival

An unobtrusive, developer-friendly way to add comments
MIT License
499 stars 30 forks source link

Simplify how Carnival is loaded #173

Closed pbrisbin closed 6 years ago

pbrisbin commented 9 years ago

Currently, /init.js loads /embed as a full HTML document, then manually pulls the stylesheet and scripts out of it and into the user's page.

Instead, we should provide /carnival.css and /carnival.js directly.

The benefits are:

This doesn't have to block product launch, but doing it later would require a deprecation cycle on the /init.js approach.