mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 23:05:43 +08:00

And don't load javascript assets if plugin is disabled. * precompile auto generated plugin js assets * SPEC: remove spec test functions * remove plugin js from test_helper Co-Authored-By: Régis Hanol <regis@hanol.fr> * DEV: using equality is slightly easier to read than inequality Co-Authored-By: Régis Hanol <regis@hanol.fr> * DEV: use `select` method instead of `find_all` for readability Co-Authored-By: Régis Hanol <regis@hanol.fr>