mirror of
https://github.com/discourse/discourse.git
synced 2026-03-03 23:54:20 +08:00
- Restores `data-discourse-plugin`, `data-preinstalled`, and `data-official` attributes on plugin `<script>` tags that were lost when #37763 moved script tag generation from ember-cli to Rails - Fixes `discourse-test-load-dynamic-js.js` where `script.dataset = element.dataset` was a silent no-op (dataset is a readonly property), preventing data attributes from being copied to dynamically created script elements - Without these attributes, `setup-tests.js` treats all test runs as core tests and always enables `configureRaiseOnDeprecation()`, causing private plugin tests to fail on deprecation warnings they should be exempt from --------- Co-authored-by: David Taylor <david@taylorhq.com> |
||
|---|---|---|
| .. | ||
| _head.html.erb | ||
| _noscript_footer.html.erb | ||
| _noscript_header.html.erb | ||
| _plugin_js.html.erb | ||
| application.html.erb | ||
| crawler.html.erb | ||
| email_template.html.erb | ||
| embed.html.erb | ||
| ember_cli.html.erb | ||
| finish_installation.html.erb | ||
| no_ember.html.erb | ||
| publish.html.erb | ||