Created
August 29, 2012 19:14
-
-
Save byrichardpowell/3517425 to your computer and use it in GitHub Desktop.
jQuery decoration & interaction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
// Add ALL the decoration | |
// e.g jquery chosen | |
_.each(site.decoration, function(decorate) { | |
decorate(); | |
}); | |
// Attach ALL The site wide interaction | |
// These interactions are site wide, not specific to certain pages or data | |
_.each( site.interaction, function( setupInteraction ) { | |
setupInteraction(); | |
}); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment