Mercurial > hg > mpiwgzen_wide
comparison js/script.js @ 0:a3750d724105 default tip
initital
author | Dirk Wintergruen <dwinter@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 02 Jun 2015 09:16:36 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a3750d724105 |
---|---|
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); |