unclecheese/silverstripe-display-logic — pull request #13 by guttmann (2013-10-22 02:49:57+00:00)
Title: Only include requirements if needed

Only set the javascript and css requirements if displayLogicCriteria is set.

This also fixes an issue we ran into where we wanted to use display logic in the CMS, but found we were getting javascript errors on the frontend of the site because we weren't using jQuery for the frontend.