root / drupal7 / sites / all / themes / zen / STARTERKIT / js / script.js @ 024de6ea
1 |
/**
|
---|---|
2 |
* @file
|
3 |
* A JavaScript file for the theme.
|
4 |
*
|
5 |
* In order for this JavaScript to be loaded on pages, see the instructions in
|
6 |
* the README.txt next to this file.
|
7 |
*/
|
8 |
|
9 |
// JavaScript should be made compatible with libraries other than jQuery by
|
10 |
// wrapping it with an "anonymous closure". See:
|
11 |
// - https://drupal.org/node/1446420
|
12 |
// - http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth
|
13 |
(function ($, Drupal, window, document, undefined) { |
14 |
|
15 |
|
16 |
// To understand behaviors, see https://drupal.org/node/756722#behaviors
|
17 |
Drupal.behaviors.my_custom_behavior = { |
18 |
attach: function(context, settings) { |
19 |
|
20 |
// Place your code here.
|
21 |
|
22 |
} |
23 |
}; |
24 |
|
25 |
|
26 |
})(jQuery, Drupal, this, this.document); |