mirror of
https://github.com/discourse/discourse.git
synced 2026-03-03 22:05:52 +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> |
||
|---|---|---|
| .. | ||
| application_helper.rb | ||
| common_helper.rb | ||
| email_helper.rb | ||
| embed_helper.rb | ||
| emoji_helper.rb | ||
| list_helper.rb | ||
| posts_helper.rb | ||
| qunit_helper.rb | ||
| topic_post_bookmarkable_helper.rb | ||
| topics_helper.rb | ||
| user_notifications_helper.rb | ||