silverstripe-scienceninjas/silverstripe-cms — comment on commit 7ad9eff0d01173cd557f10cfb25ae44e71c13a73
File: javascript/AssetAdmin.js line 64
By chillu:

Best practice in entwine: Only add rules to a file which are namespaced to the specific area, otherwise we'll end up hunting side-effects through dozens of JS files. So $('.AssetAdmin #Form_filter'). Its not so relevant for ID-based selectors, but a good habit to get into. We shouldn't have many ID-based selectors anyway to keep code reuseable