2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00
discourse/plugins/discourse-local-dates/assets/javascripts/initializers
Robin Ward 09764291b1 FIX: In test mode, initializers were modifying classes over and over
This adds a new property, `pluginId` which you can pass to `modifyClass`
which prevent the class from being modified over and over again.

This also includes a fix for polls which was leaking state between tests
which this new functionality exposed.
2021-09-02 11:22:01 -04:00
..
discourse-local-dates.js.es6 FIX: In test mode, initializers were modifying classes over and over 2021-09-02 11:22:01 -04:00