LastCallMedia / Mannequin

Mannequin Component Theming Tool
https://mannequin.io/
MIT License
38 stars 8 forks source link

add configuration notes for running Drupal behaviors within Mannequin #91

Closed jlandfried closed 7 years ago

jlandfried commented 7 years ago

Typically js that gets written for Drupal sites is contained within (or at least initiated by) the calling of Drupal's attachBehaviors method. I added a note about how to add the files from core that are needed to get that to trigger automatically, so Drupal-y js can still be run within Mannequin.

rbayliss commented 7 years ago

Thanks @jlandfried! Any chance we could get a jQuery include in there, commented out? I'd imagine most people will need that for their behaviors.

jlandfried commented 7 years ago

Np, I wasn't sure about it since it's technically not needed for the behaviors, but this makes sense since jQuery's probably used for the vast majority of use cases.

rbayliss commented 7 years ago

Perfecto! Thanks!