Posted By

sherakama on 04/08/11


Tagged

wrapper js textmate drupal 7 behaviour


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

AllKnightAccess


Drupal 7 Behaviours


 / Published in: Other
 

Drupal 7 Behaviour wrapper

  1. Drupal.behaviors.yourvariablehere = {
  2. attach: function(context, settings) {
  3.  
  4. (function ($) {
  5.  
  6. // END OF BEHAVIOUR
  7. })(jQuery);
  8.  
  9. }
  10. };

Report this snippet  

You need to login to post a comment.