Module: I18nFeedback::Widget

Defined in:
lib/i18n_feedback/widget.rb

Overview

Serves the self-contained browser widget. The JavaScript is plain ES (no framework, no build step) and styles itself inline, so it drops into any Rails app regardless of its CSS or JS setup. It is inlined into the page rather than served as a separate asset to avoid any dependency on the host's asset pipeline.

Constant Summary collapse

SOURCE =
File.expand_path('../../app/assets/i18n_feedback/widget.js', __dir__)

Class Method Summary collapse