annotate sites/all/themes/zen/STARTERKIT/js/script.js @ 2:b74b41bb73f0

-- Google analytics module
author danieleb <danielebarchiesi@me.com>
date Thu, 22 Aug 2013 17:22:54 +0100
parents
children
rev   line source
danielebarchiesi@2 1 /**
danielebarchiesi@2 2 * @file
danielebarchiesi@2 3 * A JavaScript file for the theme.
danielebarchiesi@2 4 *
danielebarchiesi@2 5 * In order for this JavaScript to be loaded on pages, see the instructions in
danielebarchiesi@2 6 * the README.txt next to this file.
danielebarchiesi@2 7 */
danielebarchiesi@2 8
danielebarchiesi@2 9 // JavaScript should be made compatible with libraries other than jQuery by
danielebarchiesi@2 10 // wrapping it with an "anonymous closure". See:
danielebarchiesi@2 11 // - https://drupal.org/node/1446420
danielebarchiesi@2 12 // - http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth
danielebarchiesi@2 13 (function ($, Drupal, window, document, undefined) {
danielebarchiesi@2 14
danielebarchiesi@2 15
danielebarchiesi@2 16 // To understand behaviors, see https://drupal.org/node/756722#behaviors
danielebarchiesi@2 17 Drupal.behaviors.my_custom_behavior = {
danielebarchiesi@2 18 attach: function(context, settings) {
danielebarchiesi@2 19
danielebarchiesi@2 20 // Place your code here.
danielebarchiesi@2 21
danielebarchiesi@2 22 }
danielebarchiesi@2 23 };
danielebarchiesi@2 24
danielebarchiesi@2 25
danielebarchiesi@2 26 })(jQuery, Drupal, this, this.document);